33 lines
1.1 KiB
Twig
33 lines
1.1 KiB
Twig
---
|
|
title: Contact
|
|
layout: page
|
|
use: [posts]
|
|
---
|
|
{% block content %}
|
|
<p>To send me an email, complete the form below.</p>
|
|
|
|
<form action="https://formspree.io/{{ site.email }}" method="POST">
|
|
<label for="name" class="db mb1">Name</label>
|
|
<input type="text" class="w-100 pa2 mb3 ba b--black-50" name="name" required>
|
|
|
|
<label for="email" class="db mb1">Email</label>
|
|
<input type="email" class="w-100 pa2 mb3 ba b--black-50" name="email" required>
|
|
|
|
<label for="subject" class="db mb1">Subject</label>
|
|
<input type="text" class="w-100 pa2 mb3 ba b--black-50" name="subject" required>
|
|
|
|
<label for="message" class="db mb1">Message</label>
|
|
<textarea name="message" class="w-100 pa2 mb3 ba b--black-50" rows="5" required></textarea>
|
|
|
|
<button class="b ph3 pv2 input-reset ba b--black bg-transparent pointer f6" type="submit">
|
|
Send email
|
|
</button>
|
|
|
|
<input type="hidden" name="_next" value="{{ site.url }}/contact-thanks/" />
|
|
|
|
<input type="text" name="_gotcha" style="display: none" />
|
|
</form>
|
|
{% endblock %}
|
|
|
|
{% block body_classes 'page--contact' %}
|