-
Notifications
You must be signed in to change notification settings - Fork 1
/
contact.html
executable file
·50 lines (44 loc) · 1.78 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
---
layout: default
title: Contact Me
---
<!--
To make this form work you have to:
1. defined "email: [email protected]" in _config.yml file.
2. verify your form on formspree.io.
-->
<div id="content" class="site-content">
<main id="main" class="site-main inner">
<div class="entry-content">
<header class="entry-header">
<h1 class="entry-title">Contact Me</h1>
</header>
{% if site.contact_page_description %}
<p>{{ site.contact_page_description }}</p>
{{else}}
{% endif %}
<section class="contact-form">
<form action="https://formspree.io/{{ site.email }}" method="post" id="contact-form">
<div class="form-item">
<label class="form-label">Your Email <span>(required)</span></label>
<input type="text" name="email" placeholder="Your email address..." class="form-input" />
</div>
<div class="form-item">
<label class="form-label">Your Name <span>(required)</span></label>
<input type="text" name="name" placeholder="Your name..." class="form-input" />
</div>
<div class="form-item">
<label class="form-label">Your Message <span>(required)</span></label>
<textarea name="message" placeholder="Your message..." class="form-textarea"></textarea>
</div>
<input type="hidden" name="_next" value="/thank-you" />
<input type="hidden" name="_subject" value="Contact form submission" />
<input type="text" name="_gotcha" style="display: none;" class="contact-form__gotcha" val="" />
<div class="form-item">
<input type="submit" value="Send Message" class="button" />
</div>
</form>
</section>
</div><!-- .entry-content-->
</main>
</div>