erick.is/_content/contact.njk
Erick Ruiz de Chavez ae7ddff223 Misc updates
- Fix quotes in workflow.
- Add required attribute to contact form fields.
2021-01-07 07:31:08 -05:00

17 lines
926 B
Text

---
title: Contact
---
<h1>{{ title }}</h1>
<form action="https://formspree.io/f/mzbkydal" method="POST" class="flex flex-col">
<input type="text" name="_gotcha" style="display:none" />
<input type="hidden" name="_subject" value="Contact Form" />
<label for="name" class="mt-4">Your name:</label>
<input type="text" required="required" id="name" name="name" class="p-2 dark:bg-gray-700 dark:text-gray-200">
<label for="_replyto" class="mt-4">Your email:</label>
<input type="email" required="required" id="_replyto" name="_replyto" class="p-2 dark:bg-gray-700 dark:text-gray-200">
<label for="message" class="mt-4">Your message:</label>
<textarea id="message" required="required" name="message" class="h-48 p-2 dark:bg-gray-700 dark:text-gray-200"></textarea>
<button type="submit" class="mt-4 p-2 bg-gray-600 text-gray-200 dark:bg-gray-200 dark:text-gray-600 font-bold rounded-full">Send</button>
</form>