Adds the Over mij page

Replaces the placeholder with the page from the design and the texts from
the live site: Andrea's introduction with her portrait, how it started,
two photos, life outside photography and a booking button. The page is
now indexed, with its own title, description, preview image and AboutPage
data about Andrea.

The portrait loads straight away instead of after the page, since on
phones it is the largest paint. Lighthouse no longer lets every indexed
page use the homepage's lower mobile performance target; it now only
applies to the homepage itself.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-23 01:17:33 +02:00
co-authored by Claude Opus 5.5
parent 93993718c7
commit e15215393e
40 changed files with 1159 additions and 60 deletions
+52 -6
View File
@@ -1,17 +1,63 @@
import { createFileRoute } from '@tanstack/react-router';
import AboutIntro from '../components/about/AboutIntro/AboutIntro';
import StorySection from '../components/about/StorySection/StorySection';
import LinkButton from '../components/LinkButton';
import PageIntro from '../components/PageIntro/PageIntro';
import { pageHead } from '../seo';
import PageSection from '../components/PageSection/PageSection';
import PhotoDuo from '../components/PhotoDuo/PhotoDuo';
import aboutContent from '../content/aboutContent';
import siteContent from '../content/siteContent';
import { aboutPage, pageHead, structuredDataScript } from '../seo';
export const Route = createFileRoute('/over-mij')({
head: () => pageHead('/over-mij'),
head: () => ({
...pageHead('/over-mij'),
scripts: [
structuredDataScript(
aboutPage('/over-mij', aboutContent.person, siteContent),
),
],
}),
component: About,
});
// Placeholder tot de echte pagina er is (noindex via sitePages)
// The about page: who Andrea is, how it started, two photos and what she
// does besides photography, in the order of LAYOUT.md
function About() {
const { head, intro, background, photos, personal, booking } = aboutContent;
return (
<PageIntro eyebrow="Andrea Slop Fotografie" title="Over mij">
Deze pagina is nog in de maak. Kom snel terug!
</PageIntro>
<>
<PageIntro eyebrow={head.eyebrow} title={head.title} />
<AboutIntro content={intro} />
<StorySection
content={background}
titleId="about-background-title"
tone="alt"
data-testid="about-background"
/>
{/* No heading in the design, so no named region (BR-OM-11) */}
<PageSection>
<PhotoDuo
photos={photos}
label="Foto's"
data-testid="about-photos"
/>
</PageSection>
<StorySection
content={personal}
titleId="about-personal-title"
spacing="flushTop"
data-testid="about-personal"
>
<LinkButton
variant="accent"
to={booking.to}
hash={booking.hash}
data-testid="about-booking-link"
>
{booking.label}
</LinkButton>
</StorySection>
</>
);
}