import { chakra } from '@chakra-ui/react'; import DeferredImage from '@/components/DeferredImage/DeferredImage'; import Reveal from '@/components/Reveal/Reveal'; import type { ContentImage } from '@/content/types'; type PhotoDuoProps = { photos: [ContentImage, ContentImage]; // Accessible name of the photo list, e.g. "Foto's" label: string; 'data-testid'?: string; }; // Two landscape photos side by side (design .intro-gallery--duo), one below // the other on phones. Each zooms in gently on hover, as in the homepage // gallery, except with reduced motion. export default function PhotoDuo({ photos, label, 'data-testid': testId, }: PhotoDuoProps) { return ( {photos.map((photo) => ( ))} ); }