Adds the shoot page layout and the shoot-type submenu
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>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import type { ShootType } from '../content/types.ts';
|
||||
import type { NavItem } from '../navigation.ts';
|
||||
import { shootPagePath } from './shootPages.ts';
|
||||
|
||||
// The submenu items of the shoot types, one per shoot in the given order:
|
||||
// the label is the shoot name, the target its page (FR-ST-10, BR-NAV-10)
|
||||
export function shootNavItems(shoots: readonly ShootType[]): NavItem[] {
|
||||
return shoots.map((shoot) => ({
|
||||
to: shootPagePath(shoot.id),
|
||||
label: shoot.name,
|
||||
}));
|
||||
}
|
||||
Reference in New Issue
Block a user