2021-01-05 15:09:26 -05:00
|
|
|
---
|
|
|
|
title: Contact
|
|
|
|
---
|
|
|
|
<h1>{{ title }}</h1>
|
2021-01-07 01:28:33 -05:00
|
|
|
|
2021-02-08 07:27:06 -05:00
|
|
|
<form action="https://palmiers.xyz/contact/contact.php" method="POST" class="flex flex-col" id="contact-form">
|
|
|
|
<input type="hidden" name="id" value="921ccf38-4b10-4ea2-be56-4910d226155f">
|
|
|
|
<input type="hidden" name="redirect" value="">
|
|
|
|
<script> document.querySelector('input[name="redirect"]').value = `${location.protocol}//${location.host}${location.pathname}thanks.html` </script>
|
|
|
|
<input type="hidden" name="subject" value="ERCH Conact Form">
|
2021-01-07 01:28:33 -05:00
|
|
|
|
|
|
|
<label for="name" class="mt-4">Your name:</label>
|
2021-02-08 07:27:06 -05:00
|
|
|
<input type="text" required id="name" name="name" class="p-2 dark:bg-gray-700 dark:text-gray-200 valid:border-2 valid:border-green-600">
|
2021-01-08 08:51:51 -05:00
|
|
|
<label for="email" class="mt-4">Your email:</label>
|
2021-02-08 07:27:06 -05:00
|
|
|
<input type="email" required id="email" name="from" class="p-2 dark:bg-gray-700 dark:text-gray-200 valid:border-2 valid:border-green-600">
|
|
|
|
|
|
|
|
<label for="website" class="mt-4 hidden">Your website:</label>
|
|
|
|
<input type="url" id="website" name="website" class="p-2 dark:bg-gray-700 dark:text-gray-200 hidden">
|
|
|
|
|
2021-01-07 01:28:33 -05:00
|
|
|
<label for="message" class="mt-4">Your message:</label>
|
2021-02-08 07:27:06 -05:00
|
|
|
<textarea id="message" required name="message" class="h-48 p-2 dark:bg-gray-700 dark:text-gray-200 valid:border-2 valid:border-green-600"></textarea>
|
|
|
|
<button class="mt-4 p-2 bg-gray-600 text-gray-200 dark:bg-gray-200 dark:text-gray-600 font-bold rounded-full">Submit</button>
|
2021-01-07 01:28:33 -05:00
|
|
|
</form>
|