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
+27
View File
@@ -0,0 +1,27 @@
import type { FileRoutesByTo } from './routeTree.gen.ts';
// Menu's verwijzen naar routes, en routes zijn code: het CMS kan geen
// pagina's toevoegen. Een tikfout in `to` is daardoor een typefout.
export type RoutePath = keyof FileRoutesByTo;
export interface NavItem {
to: RoutePath;
label: string;
}
// Hoofdmenu: desktopnavigatie en mobiel menu
export const mainNav: readonly NavItem[] = [
{ to: '/', label: 'Home' },
{ to: '/over-mij', label: 'Over mij' },
{ to: '/portfolio', label: 'Portfolio' },
{ to: '/soorten-fotoshoots', label: 'Soorten fotoshoots' },
{ to: '/contact', label: 'Contact' },
];
// Menu in de onderste footerbalk
export const footerNav: readonly NavItem[] = [
{ to: '/portfolio', label: 'Portfolio' },
{ to: '/soorten-fotoshoots', label: 'Soorten fotoshoots' },
{ to: '/contact', label: 'Contact' },
{ to: '/privacyverklaring', label: 'Privacyverklaring' },
];