PageBackdrop draws flat, overlapping palette circles behind the public site and eases them to a new tone as each section reaches the middle of the window, so sections no longer paint their own bands (PageShell's background field is gone). The hero's brand backdrop is a flat teal with the dove, its two buttons one cell cut by a slash, and the countdown straddles the hero and the band below. No glows: the drifting blobs, rings, live-dot pulse and the stats band's blurred circle are gone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
47 lines
1.7 KiB
TypeScript
47 lines
1.7 KiB
TypeScript
import PageShell from "../components/PageShell.tsx";
|
|
import { sitePage } from "../lib/site.ts";
|
|
import FeedbackForm from "./sections/FeedbackForm.tsx";
|
|
import { BRAND } from "../lib/color.ts"
|
|
|
|
/* Title and intro: site.json, which also gives the search metadata. */
|
|
const PAGE = sitePage("/feedback");
|
|
|
|
/* ═══════════════════════════════════════════════════════════════
|
|
Feedback page.
|
|
|
|
Section ids match the nav hashes. Right now there's one:
|
|
#website. Add more entries to SECTIONS as the page grows,
|
|
program feedback, retreat surveys, etc.
|
|
|
|
The form itself lives in sections/FeedbackForm, including its
|
|
own type list, location picker, and the POST to /api/feedback.
|
|
This file only decides where it sits on the page.
|
|
═══════════════════════════════════════════════════════════════ */
|
|
|
|
|
|
const SECTIONS = [
|
|
{
|
|
id: "website",
|
|
title: "Website Feedback",
|
|
blurb:
|
|
"Found a broken link, spotted something out of date, or want the site to do something it doesn't? This form goes straight to the people who maintain it.",
|
|
accent: BRAND,
|
|
content: (
|
|
// Narrower than the usual max-w-6xl: full-width form fields
|
|
// are unpleasant to fill in.
|
|
<div className="mx-auto max-w-3xl px-6">
|
|
<FeedbackForm />
|
|
</div>
|
|
),
|
|
},
|
|
];
|
|
|
|
export default function Feedback() {
|
|
return (
|
|
<PageShell
|
|
title={PAGE.title}
|
|
intro={PAGE.description}
|
|
sections={SECTIONS}
|
|
/>
|
|
);
|
|
}
|