import { createFileRoute } from '@tanstack/react-router'; import CallToAction from '../../components/CallToAction/CallToAction'; import LinkButton from '../../components/LinkButton'; import PageIntro from '../../components/PageIntro/PageIntro'; import RichParagraph from '../../components/RichParagraph/RichParagraph'; import ShootList from '../../components/shoots/ShootList/ShootList'; import StructuredData from '../../components/StructuredData/StructuredData'; import packages from '../../content/packages'; import portfolioContent from '../../content/portfolioContent'; import shootTypes from '../../content/shootTypes'; import shootTypesPageContent from '../../content/shootTypesPageContent'; import siteContent from '../../content/siteContent'; import { shootTypesWithPhotos } from '../../lib/portfolioFilters'; import { isPortfolioLive } from '../../lib/shootLinks'; import { pageHead, shootServices, webPage } from '../../seo'; import sitePages from '../../sitePages'; export const Route = createFileRoute('/soorten-fotoshoots/')({ head: () => pageHead('/soorten-fotoshoots'), component: PhotoshootTypes, }); // The shoot types page: the page head, the shoots one by one and a closing // call to action, in the order of LAYOUT.md function PhotoshootTypes() { const { head, closing } = shootTypesPageContent; return ( <> {/* The structured data lives here, not in head(): head() is part of the main bundle, the component is split off, so the shoot texts only load with this page. Google reads JSON-LD anywhere in the page; StructuredData escapes <, > and &. */} {head.intro} type.id) : [] } /> } data-testid="shoot-types-cta" > {closing.booking.label} ); }