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:
@@ -516,10 +516,13 @@ describe('shoot pages', () => {
|
||||
expect(
|
||||
document.head.querySelector('link[rel="canonical"]'),
|
||||
).toHaveAttribute('href', `${siteUrl}${path}`);
|
||||
// The default image until unit 2 gives the pages their own
|
||||
// Each shoot page has its own preview image from the registry
|
||||
expect(
|
||||
document.head.querySelector('meta[property="og:image"]'),
|
||||
).toHaveAttribute('content', `${siteUrl}/og-image.jpg`);
|
||||
).toHaveAttribute(
|
||||
'content',
|
||||
`${siteUrl}${sitePages[path].ogImage!.path}`,
|
||||
);
|
||||
expect(document.head.querySelector('meta[name="robots"]')).toBeNull();
|
||||
|
||||
const data = structuredData();
|
||||
|
||||
Reference in New Issue
Block a user