Shoot pages follow design E: breadcrumb, story blocks, process timeline with icons, photo mosaic, FAQ, package block and booking call to action, with per-shoot OG images. The navigation gets a "Soorten fotoshoots" submenu (desktop panel, mobile group) built from shootTypes, with exact current-page matching in menu, footer and breadcrumb. A 404 under /soorten-fotoshoots/ also offers a link back to the overview. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
8 lines
407 B
TypeScript
8 lines
407 B
TypeScript
// An id for a heading that aria-labelledby can always point at: lower-case
|
|
// letters, digits, '-' and '_' only. Anything else, such as a space in a
|
|
// story id from the content, becomes '-' (BR-SP-72). The caller adds
|
|
// '-title' where the id belongs to a heading.
|
|
export function headingId(prefix: string, id: string): string {
|
|
return `${prefix}-${id}`.toLowerCase().replace(/[^a-z0-9\-_]/g, '-');
|
|
}
|