Page requests now go through the API (routes/pages.js), which fills the built index.html in for that path before the app loads: title, description, preview image, canonical URL, and structured data (Organization, Event, BlogPosting). Shared links preview the page itself. Unlisted records are noindex; missing ones return 404. /sitemap.xml lists every public, listed page. site.json is the one place for the site's name, address, default description and preview image, and each static page's title and intro, which the pages now read too. Indexing is switched on: robots.txt allows all but /admin and /api and names the sitemap. The browser tab title follows the page. nginx setup, with a fallback to the plain page if the API is down, is in docs/seo.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
73 lines
1.9 KiB
TypeScript
73 lines
1.9 KiB
TypeScript
import PageShell from "../components/PageShell.tsx";
|
|
import { sitePage } from "../lib/site.ts";
|
|
import PeopleTiles from "../components/PeopleTiles.tsx";
|
|
|
|
/* Title and intro: site.json, which also gives the search metadata. */
|
|
const PAGE = sitePage("/leadership");
|
|
|
|
const SECTIONS = [
|
|
{
|
|
id: "board-staff",
|
|
title: "Board & Staff",
|
|
blurb: "The people guiding Next Generation of Unity day to day.",
|
|
accent: "#138ba0",
|
|
background: "#eef9fb",
|
|
content: (
|
|
<div className="max-w-6xl mx-auto px-6">
|
|
<PeopleTiles size="lg" teams={{ id: "ngu-board",}} />
|
|
</div>
|
|
),
|
|
},
|
|
{
|
|
id: "retreat-team",
|
|
title: "Retreat Team",
|
|
blurb: "Volunteers who plan and lead our gatherings throughout the year.",
|
|
accent: "#aac992",
|
|
background: "#ffffff",
|
|
content: (
|
|
<div className="max-w-6xl mx-auto px-6">
|
|
<PeopleTiles size="lg" teams="ngu-retreat-team" />
|
|
</div>
|
|
),
|
|
},
|
|
{
|
|
id: "committees",
|
|
title: "Committees & Volunteers",
|
|
blurb: "Additional roles and contributors.",
|
|
accent: "#7a5ea8",
|
|
background: "#eef9fb",
|
|
content: (
|
|
<div className="max-w-6xl mx-auto px-6">
|
|
{/* Other roles content */}
|
|
</div>
|
|
),
|
|
},
|
|
{
|
|
id: "contact",
|
|
title: "Contact Us",
|
|
blurb: "Reach out to our staff",
|
|
accent: "#004c52",
|
|
background: "#ffffff",
|
|
content: (
|
|
<div className="max-w-6xl mx-auto px-6">
|
|
<a
|
|
href="mailto:info@nextgenerationofunity.org"
|
|
className="inline-block py-2.5 px-6 rounded-xl font-700 transition-all duration-200 hover:scale-105"
|
|
style={{ border: "1px solid #138ba0", color: "#138ba0" }}
|
|
>
|
|
info@nextgenerationofunity.org
|
|
</a>
|
|
</div>
|
|
),
|
|
},
|
|
];
|
|
|
|
export default function Leadership() {
|
|
return (
|
|
<PageShell
|
|
title={PAGE.title}
|
|
intro={PAGE.description}
|
|
sections={SECTIONS}
|
|
/>
|
|
);
|
|
}
|