Three sections: Mission, Vision & Values from the national organization record's own description and content blocks; Leadership as that record's teams with their people; Details & Contact with NGU's address, nonprofit status, email and the record's contact links. /leadership answers with a 301 to /organization (MOVED in routes/pages.js), and a page title or intro saved for it in Site settings moves with it (migration 054). OrganizationDetail's team list and contact buttons are now shared components (OrgTeams, OrgContact), and NGU's address and email live once in src/data/organizationDetails.ts for the footer, the page and ComingSoon. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
26 lines
1.1 KiB
TypeScript
26 lines
1.1 KiB
TypeScript
/* ═══════════════════════════════════════════════════════════════
|
||
COMING SOON
|
||
|
||
What a page section shows before it has content, instead of a
|
||
heading over nothing: that it's being put together, and where to
|
||
ask in the meantime. Swap it for the real content when there is
|
||
some.
|
||
═══════════════════════════════════════════════════════════════ */
|
||
|
||
import { ORGANIZATION_DETAILS } from '../data/organizationDetails.ts'
|
||
|
||
const CONTACT = ORGANIZATION_DETAILS.email
|
||
|
||
export default function ComingSoon({ what }: { what: string }) {
|
||
return (
|
||
<div className="mx-auto max-w-6xl px-6">
|
||
<p className="notice max-w-xl p-6 text-body">
|
||
We’re putting {what} together. In the meantime, ask us at{' '}
|
||
<a href={`mailto:${CONTACT}`} className="font-semibold text-link underline underline-offset-2">
|
||
{CONTACT}
|
||
</a>
|
||
.
|
||
</p>
|
||
</div>
|
||
)
|
||
}
|