Michael Freno a7ad581ed2 feat(contact): extract shared ContactForm and add per-subdomain contact pages
Refactor the monolithic main-site contact page into a reusable
<ContactForm> component that encapsulates the Turnstile widget, cooldown
timer, email-verification flow, and tRPC submission. The main
/contact route becomes a thin wrapper that supplies the site-specific
disclaimer subline and Life-and-Lineage FAQ accordion (now exported as
<LineageContactQuestions> for reuse).

Add per-subdomain contact routes (gaze, inputhalo, lineage, nessa) that
render the shared component, with site-aware subject prefix, recipient,
heading, and PageHead metadata derived via useSite() from CONTACT_CONTEXT.

Introduce src/lib/contact-config.ts (with tests) centralizing the contact
recipient/sender addresses and subject building. The misc.sendContactRequest
mutation accepts an optional subjectPrefix (defaulting to "freno.me") so
inbound call sites continue emitting byte-identical legacy subjects, while
subdomain submissions route distinct subjects (e.g. "[Gaze] Contact Request")
to the same inbox.
2026-07-23 12:25:13 -04:00
2026-07-23 08:43:40 -04:00
2026-07-23 08:43:40 -04:00
2026-05-28 16:48:06 -04:00
2026-07-23 08:43:40 -04:00
2026-07-23 08:43:40 -04:00
2025-12-17 13:51:13 -05:00
2025-12-16 22:42:05 -05:00
2026-07-23 08:43:40 -04:00
Description
No description provided
130 MiB
Languages
TypeScript 61.3%
JavaScript 36.8%
CSS 1.1%
HTML 0.5%
Shell 0.3%