feat: add Formspree contact form to contact page
WHAT WAS DONE: Added complete contact form section using Formspree integration. FORM FIELDS: - Name (required) - Email (required) - Subject (required) - Message (textarea, required) - Submit button with Fire/Frost/Arcane gradient STYLING: - Dark theme matching site aesthetic - Frost cyan borders and labels - Responsive form layout - Fire/Frost/Arcane gradient submit button ACTION REQUIRED: Replace 'YOUR_FORM_ID' in the form action URL with actual Formspree form ID: 1. Sign up at https://formspree.io 2. Create new form 3. Get form endpoint ID 4. Replace in: action="https://formspree.io/f/YOUR_FORM_ID" FORM ENDPOINT: Currently set to: https://formspree.io/f/YOUR_FORM_ID (placeholder) Form will not work until Formspree ID is configured. Signed-off-by: Claude (Chronicler #56) <claude@firefrostgaming.com>
This commit is contained in:
39
contact.njk
39
contact.njk
@@ -51,6 +51,45 @@ description: Get in touch with The Trinity at Firefrost Gaming
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- CONTACT FORM -->
|
||||
<div style="padding: 100px 60px; background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 100%);">
|
||||
<div style="max-width: 800px; margin: 0 auto;">
|
||||
<div style="text-align: center; margin-bottom: 60px;">
|
||||
<h2 style="font-size: 3rem; margin-bottom: 20px; color: #e8f4f8; font-weight: 800;">Send Us a Message</h2>
|
||||
<p style="font-size: 1.3rem; color: #a8dadc; line-height: 1.7;">Fill out the form below and we'll get back to you within 24-48 hours.</p>
|
||||
</div>
|
||||
|
||||
<!-- Formspree Form - Replace YOUR_FORM_ID with actual Formspree form ID -->
|
||||
<form action="https://formspree.io/f/YOUR_FORM_ID" method="POST" style="background: rgba(26, 26, 46, 0.6); border: 2px solid rgba(78, 205, 196, 0.4); border-radius: 15px; padding: 50px;">
|
||||
|
||||
<div style="margin-bottom: 30px;">
|
||||
<label for="name" style="display: block; color: #4ecdc4; font-weight: 600; margin-bottom: 10px; font-size: 1.1rem;">Name *</label>
|
||||
<input type="text" id="name" name="name" required style="width: 100%; padding: 15px; background: rgba(15, 15, 30, 0.8); border: 2px solid rgba(78, 205, 196, 0.3); border-radius: 8px; color: #e8f4f8; font-size: 1rem;" />
|
||||
</div>
|
||||
|
||||
<div style="margin-bottom: 30px;">
|
||||
<label for="email" style="display: block; color: #4ecdc4; font-weight: 600; margin-bottom: 10px; font-size: 1.1rem;">Email *</label>
|
||||
<input type="email" id="email" name="email" required style="width: 100%; padding: 15px; background: rgba(15, 15, 30, 0.8); border: 2px solid rgba(78, 205, 196, 0.3); border-radius: 8px; color: #e8f4f8; font-size: 1rem;" />
|
||||
</div>
|
||||
|
||||
<div style="margin-bottom: 30px;">
|
||||
<label for="subject" style="display: block; color: #4ecdc4; font-weight: 600; margin-bottom: 10px; font-size: 1.1rem;">Subject *</label>
|
||||
<input type="text" id="subject" name="subject" required style="width: 100%; padding: 15px; background: rgba(15, 15, 30, 0.8); border: 2px solid rgba(78, 205, 196, 0.3); border-radius: 8px; color: #e8f4f8; font-size: 1rem;" />
|
||||
</div>
|
||||
|
||||
<div style="margin-bottom: 30px;">
|
||||
<label for="message" style="display: block; color: #4ecdc4; font-weight: 600; margin-bottom: 10px; font-size: 1.1rem;">Message *</label>
|
||||
<textarea id="message" name="message" rows="6" required style="width: 100%; padding: 15px; background: rgba(15, 15, 30, 0.8); border: 2px solid rgba(78, 205, 196, 0.3); border-radius: 8px; color: #e8f4f8; font-size: 1rem; resize: vertical;"></textarea>
|
||||
</div>
|
||||
|
||||
<div style="text-align: center;">
|
||||
<button type="submit" style="background: linear-gradient(135deg, #FF6B35 0%, #A855F7 50%, #4ECDC4 100%); color: white; padding: 18px 60px; border: none; border-radius: 8px; font-weight: 700; font-size: 1.2rem; cursor: pointer; transition: transform 0.2s;">Send Message</button>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- ADDITIONAL CONTACTS -->
|
||||
<div style="padding: 100px 60px; background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 100%);">
|
||||
<div style="max-width: 1000px; margin: 0 auto; text-align: center;">
|
||||
|
||||
Reference in New Issue
Block a user