-
Notifications
You must be signed in to change notification settings - Fork 4
/
contact.html
70 lines (58 loc) · 2.27 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
60
61
62
63
64
65
66
67
68
69
70
---
layout: default
title: Contact Me
cover: /assets/images/covers/3.jpg
---
<!--
To make this form work you have to:
1. defined "email: [email protected]" in _config.yml file.
2. verify your form on formspree.io.
-->
<main class="site-main">
<div class="site-content">
<header class="cover page-header">
{% if cover or page.cover %}
<div class="cover-bg"
style="background-image: url({{ site.baseurl }}{% if cover %}{{ cover }}{% else %}{{ page.cover }}{% endif%})">
</div>
{% endif %}
<div class="cover-content">
<div class="inner">
<h1 class="page-title">{{ page.title }}</h1>
</div><!-- .inner -->
</div><!-- .cover-content -->
</header><!-- .post-header -->
<div class="inner">
<div class="post-content">
{% if site.contact_page_description %}
<p>{{ site.contact_page_description }}</p>
{{else}}
{% endif %}
<section class="contact-form">
<form
action="https://formspree.io/f/xrgvkwwz"
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">
<button type="submit">Send Message</button>
</div>
</form>
</section>
</div>
</div><!-- .inner-->
</div><!-- .site-content -->
</main><!-- .site-main -->