Completes the front-end shell with footer, status pages and SEO

Adds the footer, back-to-top button, skip link, placeholder routes,
404 and error pages inside the shell, plus per-page SEO from a single
page registry (canonical URLs, Open Graph image, JSON-LD, generated
sitemap.xml and robots.txt).

Theme tokens and recipes replace repeated styling, the hero loads only
the active and neighbouring slides, and the e-mail address is joined
in the browser to keep it out of the HTML and bundle.

Adds Vitest with property-based (fast-check) and axe tests, ESLint,
security headers for dev and preview, Lighthouse CI and a `pnpm check`
script that runs all quality gates.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-18 17:05:02 +02:00
co-authored by Claude Opus 5.5
parent b5b7f3b3db
commit 4d6408b607
99 changed files with 7883 additions and 414 deletions
+65
View File
@@ -0,0 +1,65 @@
import type { RoutePath } from './navigation.ts';
// Het register van alle pagina's: één bron voor de head van elke route en
// voor sitemap.xml. Door het type moet elke route hier staan, en niets anders.
//
// Richtlijn: titel max. ~60 tekens inclusief " | Andrea Slop Fotografie",
// beschrijving max. ~155 tekens; daarna kort Google ze af.
export interface PageMeta {
title: string;
description: string;
// false = noindex en niet in de sitemap (placeholders). Gaat een echte
// pagina live, zet dit dan op true.
indexed: boolean;
ogImage?: { path: string; width: number; height: number; alt: string };
}
export interface SitePage extends PageMeta {
path: string;
}
const sitePages: Record<RoutePath, PageMeta> = {
'/': {
title: 'Lifestyle fotograaf in Huizen',
description:
"Lifestyle fotograaf in Huizen en omgeving. Ik leg je mooiste momenten vast in spontane, kleurrijke foto's. Voor loveshoots, gezins- en zwangerschapsshoots.",
indexed: true,
},
'/over-mij': {
title: 'Over mij',
description:
'Hi! Ik ben Andrea, lifestyle fotograaf uit Huizen. Ik leg jullie vast zoals jullie zijn: spontaan en natuurlijk, zonder ongemakkelijke poses.',
indexed: false,
},
'/portfolio': {
title: 'Portfolio',
description:
"Bekijk het portfolio van Andrea Slop Fotografie: spontane lifestylefoto's van gezinnen, stellen, zwangerschappen en newborns in Huizen en omgeving.",
indexed: false,
},
'/soorten-fotoshoots': {
title: 'Soorten fotoshoots',
description:
'Van loveshoot tot gezins-, zwangerschaps- en newbornshoot: ontdek welke fotoshoots Andrea Slop Fotografie aanbiedt in Huizen en omgeving.',
indexed: false,
},
'/contact': {
title: 'Contact',
description:
'Neem contact op met Andrea Slop Fotografie voor een fotoshoot in Huizen en omgeving. Ik denk graag met je mee over jullie wensen.',
indexed: false,
},
'/privacyverklaring': {
title: 'Privacyverklaring',
description:
"Lees hoe Andrea Slop Fotografie omgaat met je persoonsgegevens en met de foto's die tijdens een fotoshoot gemaakt worden.",
indexed: false,
},
};
// Het register als lijst, voor de sitemap
export function pageList(pages: Record<string, PageMeta>): SitePage[] {
return Object.entries(pages).map(([path, meta]) => ({ path, ...meta }));
}
export default sitePages;