Chandler Copeland
|
47c6dd9e62
|
feat(02-02): add ContactSection client component and wire into homepage
- Create src/app/_components/ContactSection.tsx: useActionState form with
name, email, phone, message fields and gold Send Message button
- Honeypot field (name="website") with display:none, tabIndex=-1, autoComplete="off"
- Success state: form replaced by thank-you message on successful submission
- Error state: inline alert for validation failures
- page.tsx: replace <section id="contact" /> stub with <ContactSection />
- useActionState imported from 'react' (not react-dom, React 19 compatible)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-03-19 15:01:36 -06:00 |
|