/
contact.html
59 lines (55 loc) · 2.3 KB
/
contact.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
---
layout: not_homepage
quote: I do love email. Wherever possible I try to communicate asynchronously. I'm really good at email.
author: Elon Musk
---
{% include quote.html quote=page.quote author=page.author %}
<div class="container">
<div class="row">
<div class="col s12">
<h3 class="heading">Want to get in touch?</h3>
<p>
If you have questions or just want to get in contact, please feel free to send me a direct email to <a href="mailto:{{site.email}}">{{site.email}}</a> or simply use the form below.
</p>
</div>
</div>
<form class="email_me" action="{{site.contact_endpoint}}" method="POST">
<input type="text" name="_gotcha" style="display:none" />
<div class="row">
<div class="input-field col m6 s12">
<i class="material-icons prefix">account_circle</i>
<input id="icon_prefix" type="text" name="name" class="validate email_input">
<label for="icon_prefix">Full Name</label>
</div>
<div class="input-field col m6 s12">
<i class="material-icons prefix">email</i>
<input id="icon_prefix" name="_replyto" type="email" class="validate email_input">
<label for="icon_prefix" data-error="Make sure you've entered a valid email">Email</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<i class="material-icons prefix">mode_edit</i>
<textarea id="textarea1" aria-required="true" name="message" class="materialize-textarea email_input validate"></textarea>
<label for="textarea1" data-error="Make sure you've entered a message">Message</label>
</div>
</div>
<div class="row">
<button class="fill col s8 offset-s2 m4 offset-m4" type="submit" name="action">Send</button>
</div>
</form>
<br/>
<div id="email_modal" class="modal">
<div class="container">
<div class="modal-content row">
<h4 class="center-align">Thanks, your email is on the way!</h4>
<p class="center-align description">I will reply as fast as I can.</p>
</div>
<div class="row">
<div class="buttons col s8 offset-s2 m8 offset-m2 l8 offset-l2">
<a class="button_wrapper modal-action modal-close" ><button class="fill col s12">back to site</button></a>
</div>
</div>
</div>
</div>
</div>