Files
crosscode-platform/apps/website/frontend/src/app/not-found.tsx
T
joshuaandClaude Opus 5.5 5ed7201efa feat(website): the four templates and the public site
Heritage, Bold, Community and Clean drawing all 26 section variants
with their headers, homepage order and style settings; colours made
safe (WCAG AA) by the backend; fonts and corners from the shared brand
style. Publishing into numbered versions, the content API with live
messages and events and the church profile from Accounts, uploads,
every page kind, simple event pages, Coming soon, 404, sitemap, SEO
basics and the church's JSON-LD. The demo church (npm run demo) and
Playwright e2e: every template's pages pass axe and the SEO checks.
website.sh builds packages/seo. Decision 17 (first Owner) recorded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 10:59:03 +02:00

18 lines
632 B
TypeScript

import Link from "next/link";
import { loadPublished } from "@/site/load";
import { Shell } from "@/site/Shell";
export default async function NotFound() {
const site = await loadPublished();
const body = (
<section className="cc-section">
<div className="cc-wrap text-center">
<h1 className="cc-h1">Page not found</h1>
<p className="cc-muted mt-4 text-lg">That page isn&apos;t here. It may have moved.</p>
<Link href="/" className="cc-btn mt-8">Go to the home page</Link>
</div>
</section>
);
return site ? <Shell site={site} path="/404">{body}</Shell> : <main>{body}</main>;
}