Files
freno-dev/src/lib
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-01-13 19:19:00 -05:00
2026-05-28 20:22:30 -04:00
2026-01-21 12:22:19 -05:00
2026-01-06 23:11:19 -05:00
2026-01-12 09:24:58 -05:00
2025-12-17 00:23:13 -05:00
2025-12-17 00:23:13 -05:00
2026-01-06 13:51:47 -05:00
2026-01-04 23:51:57 -05:00
2026-01-07 21:38:53 -05:00
2026-01-07 21:38:53 -05:00
2026-01-04 11:14:54 -05:00
2026-01-06 14:19:39 -05:00