Translation files, step 3: the home page sections in home.json

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-15 20:51:08 +01:00
co-authored by Claude Sonnet 5.5
parent 034ba902d2
commit 8df4e5d2f2
6 changed files with 85 additions and 26 deletions
+17 -20
View File
@@ -1,3 +1,4 @@
import { messages, t, tList } from '../i18n/index.ts';
import type { ContentImage, HomeContent } from './types';
// Images
@@ -12,25 +13,25 @@ import andrea from '../assets/home/andrea.jpg';
export const introPhotos: ContentImage[] = [
{
src: intro1,
alt: 'Babyhandje in de hand van de moeder, op een gebreid dekentje',
alt: messages.home.intro.photos[0].alt,
width: 800,
height: 1200,
},
{
src: intro2,
alt: 'Moeder drukt haar pasgeboren baby in een gebreid truitje tegen zich aan',
alt: messages.home.intro.photos[1].alt,
width: 800,
height: 1200,
},
{
src: intro3,
alt: 'Zwangere vrouw op blote voeten in het zand bij zonsondergang',
alt: messages.home.intro.photos[2].alt,
width: 800,
height: 1200,
},
{
src: intro4,
alt: 'Aanstaande vader omarmt zijn zwangere partner in de duinen',
alt: messages.home.intro.photos[3].alt,
width: 800,
height: 1200,
},
@@ -40,36 +41,32 @@ export const introPhotos: ContentImage[] = [
// will then deliver this object.
const homeContent: HomeContent = {
intro: {
title: 'Lifestyle fotografie',
lead: 'Jouw favoriete momenten, vastgelegd op een natuurlijke en ongedwongen manier.',
title: t('home.intro.title'),
lead: t('home.intro.lead'),
photos: introPhotos,
},
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.',
],
eyebrow: t('home.about.eyebrow'),
title: t('home.about.title'),
paragraphs: [...tList('home.about.paragraphs')],
image: {
src: andrea,
alt: 'Andrea Slop met haar camera, glimlachend over haar schouder',
alt: t('home.about.imageAlt'),
width: 1200,
height: 800,
},
link: { label: 'Lees mijn verhaal', to: '/over-mij' },
link: { label: t('home.about.linkLabel'), to: '/over-mij' },
},
pricing: {
title: 'Prijzen',
lead: 'Pakketten',
title: t('home.pricing.title'),
lead: t('home.pricing.lead'),
},
testimonials: {
title: 'Lieve woorden',
title: t('home.testimonials.title'),
},
contact: {
title: 'Contact',
lead: 'Wil je meer informatie ontvangen? Neem gerust contact met mij op.',
title: t('home.contact.title'),
lead: t('home.contact.lead'),
},
};