mirror of
https://github.com/Xevion/old.xevion.github.io.git
synced 2025-12-06 05:15:40 -06:00
stop the spaaaaaaam
This commit is contained in:
@@ -11,7 +11,8 @@
|
||||
<p class="contact-description">Have a sweet project in mind or just want to say hi? Feel free to send me a message!</p>
|
||||
</div>
|
||||
<div class="contact-wrapper">
|
||||
<form class="form-wrapper" autocomplete="off" method="post" action="https://formspree.io/brittany.chiang@gmail.com">
|
||||
<form id="contactform" class="form-wrapper" method="POST" autocomplete="off">
|
||||
<input type="text" name="_gotcha" style="display:none" >
|
||||
<div class="input-wrapper">
|
||||
<label for="name" class="input-label">Name</label>
|
||||
<input type="text" name="name" class="contact-input" id="name" required>
|
||||
@@ -28,7 +29,6 @@
|
||||
<label for="message" class="input-label" id="message-label">Message</label>
|
||||
<textarea name="message" class="contact-input autoExpand" id="message" required></textarea>
|
||||
</div>
|
||||
<input type="text" name="_gotcha" style="display:none" />
|
||||
<button type="submit" name="submit" class="message-btn">
|
||||
<span>Send Message</span>
|
||||
</button>
|
||||
|
||||
@@ -6,11 +6,15 @@
|
||||
{% else %}
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/skrollr/0.6.30/skrollr.min.js"></script>
|
||||
<script src="{{site.baseurl}}/js/main.js"></script>
|
||||
<script>
|
||||
const contactform = document.getElementById('contactform');
|
||||
contactform.setAttribute('action', 'https:' + '//formspree.io/' + 'brittany.chiang' + '@' + 'gmail' + '.' + 'com');
|
||||
</script>
|
||||
{% endif %}
|
||||
<script>
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
||||
|
||||
ga('create', 'UA-45666519-2', 'auto');
|
||||
|
||||
Reference in New Issue
Block a user