-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathcontact.html
39 lines (30 loc) · 1.2 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
---
title: Contact
heading: Get in touch today
description: We'd love to help you improve your sales.
map:
latitude: -45.8787605
longitude: 170.5027976
address: "1 George Street, Dunedin, New Zealand"
zoom: 13
---
<div class="map" id="map"></div>
<div class="contact-box">
<form action="{{ site.baseurl }}/contact-success/" method="post" class="contact-form">
<input type="hidden" name="_to" value="support@example.com" />
<input type="text" name="_gotcha" style="display: none;">
<label for="name">Full Name</label>
<input type="text" name="name" id="name" placeholder="Enter your name..." />
<label for="email">Email Address</label>
<input type="email" name="email" id="email" placeholder="Enter your email..." required />
<label for="message">Message</label>
<textarea name="message" id="message" placeholder="Enter your message..."></textarea>
<input type="submit" value="Send Message" />
</form>
<div class="contact-details">
<h3>Address</h3>
<address><a target="_blank" href="{{ page.map.address | url_encode }}">{{ page.map.address | replace: ", ", ", <br>" }}</a></address>
<h3>Email</h3>
<p><a href="mailto:support@example.com">support@example.com</a></p>
</div>
</div>