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
342 B
TypeScript
8 lines
342 B
TypeScript
const SHOOT_SECTION_PREFIX = '/soorten-fotoshoots/';
|
|
|
|
// Staat het pad onder /soorten-fotoshoots/ (FR-ST-14)? Hoofdletterongevoelig,
|
|
// net als de router. Het overzicht zelf (zonder slash) hoort er niet bij.
|
|
export function isShootSectionPath(pathname: string): boolean {
|
|
return pathname.toLowerCase().startsWith(SHOOT_SECTION_PREFIX);
|
|
}
|