Merge branch 'per-subdomain-contact-pages' (task 09)

# Conflicts:
#	src/routes/contact.tsx
This commit is contained in:
2026-07-23 17:08:39 -04:00
9 changed files with 1014 additions and 513 deletions

View File

@@ -0,0 +1,20 @@
import { ContactForm } from "~/components/ContactForm";
/**
* Gaze contact page (`gaze.freno.me/contact`).
*
* Thin wrapper over the shared `<ContactForm>` (task 09). Site awareness —
* subject prefix `[Gaze]`, recipient label, heading, and PageHead metadata —
* is derived from `useSite()` inside the component via `CONTACT_CONTEXT.gaze`,
* so this route needs no explicit props.
*
* vercel.json rewrites `gaze.freno.me/*` → the internal `/gaze/*` route
* prefix; the browser URL stays `gaze.freno.me/contact`.
*
* Acceptance: `gaze.localhost:3000/contact` renders the contact form with
* Gaze branding; submissions email `michael@freno.me` with subject
* `[Gaze] Contact Request`.
*/
export default function GazeContactPage() {
return <ContactForm />;
}