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:
2026-10-30 14:43:43 +01:00
co-authored by Claude Opus 5.5
parent e5f4348178
commit 7af2069959
84 changed files with 6090 additions and 128 deletions
@@ -0,0 +1,164 @@
import type { ReactNode } from 'react';
import { Box, Flex, Heading, Text } from '@chakra-ui/react';
import Reveal from '@/components/Reveal/Reveal';
// Height and width of a marker, and so the height of the middle row
const MARKER = '3.5rem';
type TimelineStep = {
id: string;
title: string;
text: string;
// A decorative icon, e.g. from ProcessIcons
icon?: ReactNode;
};
type ProcessTimelineProps = {
steps: readonly TimelineStep[];
// The band colour: the markers use it to hide the line behind them
tone?: 'paper' | 'alt';
'data-testid'?: string;
};
// The steps of a process as a timeline (FR-ST-04, BR-SP-20..26): vertical
// with the text beside each marker below `lg`, horizontal from `lg` with
// the texts alternating above and below the line. One ordered list in both
// layouts, so the reading order is the order of the steps. The line, the
// markers and the icons are decoration only.
export default function ProcessTimeline({
steps,
tone = 'paper',
'data-testid': testId,
}: ProcessTimelineProps) {
if (steps.length === 0) return null;
const background = tone === 'alt' ? 'paper.alt' : 'paper';
return (
<Reveal data-testid={testId}>
<Box
as="ol"
role="list"
listStyle="none"
m={0}
p={0}
maxW={{ base: '34rem', lg: 'none' }}
mx="auto"
display={{ lg: 'grid' }}
gridTemplateColumns={{
lg: `repeat(${steps.length}, minmax(0, 1fr))`,
}}
gridTemplateRows={{ lg: `auto ${MARKER} auto` }}
>
{steps.map((step, index) => {
const first = index === 0;
const last = index === steps.length - 1;
const above = index % 2 === 0;
return (
<Box
as="li"
key={step.id}
position="relative"
display="grid"
gridTemplateColumns={{
base: `${MARKER} 1fr`,
lg: 'minmax(0, 1fr)',
}}
columnGap={{ base: 5, lg: 0 }}
pb={{ base: last ? 0 : 8, lg: 0 }}
gridRow={{ lg: '1 / 4' }}
// The rows of the list itself, so the markers line
// up whatever the text heights are. Subgrid is
// supported by every current browser; a style prop
// cannot hold a fallback for older ones.
gridTemplateRows={{ lg: 'subgrid' }}
>
{/* The line down to the next marker (vertical
layout); the next marker hides its end */}
{!last && (
<Box
as="span"
aria-hidden="true"
display={{ base: 'block', lg: 'none' }}
position="absolute"
left={`calc(${MARKER} / 2 - 1px)`}
top={`calc(${MARKER} / 2)`}
bottom={`calc(${MARKER} / -2)`}
w="2px"
bg="sand"
/>
)}
{/* The line through the marker (horizontal
layout), from the first to the last centre */}
<Box
as="span"
aria-hidden="true"
display={{ base: 'none', lg: 'block' }}
gridRow={{ lg: 2 }}
gridColumn={{ lg: 1 }}
alignSelf="center"
h="2px"
bg="sand"
ml={first ? '50%' : 0}
mr={last ? '50%' : 0}
/>
<Flex
aria-hidden="true"
data-testid={
testId ? `${testId}-marker` : undefined
}
data-filled={last ? 'true' : 'false'}
position="relative"
zIndex={1}
align="center"
justify="center"
w={MARKER}
h={MARKER}
borderRadius="full"
borderWidth="1.5px"
borderColor="accent.deep"
bg={last ? 'accent.deep' : background}
color={last ? 'white' : 'accent.deep'}
gridRow={{ base: 1, lg: 2 }}
gridColumn={1}
justifySelf={{ lg: 'center' }}
>
{step.icon}
</Flex>
<Box
data-text-position={above ? 'above' : 'below'}
gridColumn={{ base: 2, lg: 1 }}
gridRow={{ base: 1, lg: above ? 1 : 3 }}
alignSelf={{
base: 'start',
lg: above ? 'end' : 'start',
}}
pt={{ base: 3, lg: above ? 0 : 6 }}
pb={{ lg: above ? 6 : 0 }}
px={{ lg: 3 }}
textAlign={{ lg: 'center' }}
>
<Heading
as="h3"
fontFamily="heading"
fontWeight="normal"
fontSize="xl"
lineHeight="1.2"
>
{step.title}
</Heading>
<Text
mt={2}
fontSize="0.9375rem"
lineHeight="1.6"
color="ink.soft"
>
{step.text}
</Text>
</Box>
</Box>
);
})}
</Box>
</Reveal>
);
}