Adds the Over mij section to the homepage

Adds the introduction block with a framed photo of Andrea and a link to
the about page. Brings in FramedImage and an underline link variant for
the later blocks, and narrows the load margin of deferred photos so
nothing below the hero starts loading before the hero has painted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-20 00:31:10 +02:00
co-authored by Claude Opus 5.5
parent 3e530df0af
commit 0b54a67dc4
20 changed files with 403 additions and 14 deletions
+17
View File
@@ -5,6 +5,7 @@ import intro1 from '../assets/home/intro-1.jpg';
import intro2 from '../assets/home/intro-2.jpg';
import intro3 from '../assets/home/intro-3.jpg';
import intro4 from '../assets/home/intro-4.jpg';
import andrea from '../assets/home/andrea.jpg';
// Static content of the homepage sections until the CMS API exists; the API
// will then deliver this object.
@@ -39,6 +40,22 @@ const homeContent: HomeContent = {
},
],
},
about: {
eyebrow: 'Over mij',
title: 'Lifestyle fotograaf met een passie voor storytelling',
paragraphs: [
'Hi! Ik ben Andrea, lifestyle fotograaf uit Huizen. Leuk dat je een kijkje neemt op mijn website!',
"Foto's vertellen verhalen. Ze brengen je terug naar je favoriete momenten. Met mijn camera leg ik momenten vast die je voor altijd bij je houdt.",
'Mijn stijl is natuurlijk en ongedwongen. Ik leg jullie vast zoals jullie zijn. Geen ongemakkelijke poses maar spontane momenten.',
],
image: {
src: andrea,
alt: 'Andrea Slop met haar camera, glimlachend over haar schouder',
width: 1200,
height: 800,
},
link: { label: 'Lees mijn verhaal', to: '/over-mij' },
},
};
export default homeContent;
+9
View File
@@ -1,3 +1,4 @@
import type { RoutePath } from '../navigation.ts';
import type { SocialPlatform } from './socialPlatforms.ts';
// Vorm van de content die straks uit de CMS-API komt. Bewust platte data
@@ -37,6 +38,14 @@ export interface HomeContent {
lead: string;
photos: ContentImage[];
};
about: {
eyebrow: string;
title: string;
paragraphs: string[];
image: ContentImage;
// A route, so a wrong link is a type error
link: { label: string; to: RoutePath };
};
}
export interface HeroSlide {