Files
AndreaSlopFotografie/web/src/content/homeContent.ts
T
SluijsensandClaude Opus 5.5 52c1864a38 Adds the Instagram section to the homepage
Shows the handle as a link to the profile and six square photos from edge
to edge (2, 3 or 6 per row), each linking to the profile in a new tab.
The photos are ones the page already loads, so the section adds no
downloads; the API will later fill it with the real feed. Without a valid
https link to Instagram the section is left out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 00:26:41 +02:00

94 lines
3.1 KiB
TypeScript

import type { ContentImage, HomeContent } from './types';
import testimonials from './testimonials';
// Images
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';
import deco1 from '../assets/home/deco-1.png';
import deco2 from '../assets/home/deco-2.png';
// Shared by the intro gallery and the Instagram tiles, so one photo keeps
// one description
const introPhotos: ContentImage[] = [
{
src: intro1,
alt: 'Babyhandje in de hand van de moeder, op een gebreid dekentje',
width: 800,
height: 1200,
},
{
src: intro2,
alt: 'Moeder drukt haar pasgeboren baby in een gebreid truitje tegen zich aan',
width: 800,
height: 1200,
},
{
src: intro3,
alt: 'Zwangere vrouw op blote voeten in het zand bij zonsondergang',
width: 800,
height: 1200,
},
{
src: intro4,
alt: 'Aanstaande vader omarmt zijn zwangere partner in de duinen',
width: 800,
height: 1200,
},
];
// Static content of the homepage sections until the CMS API exists; the API
// will then deliver this object.
const homeContent: HomeContent = {
intro: {
title: 'Lifestyle fotografie',
lead: 'Jouw favoriete momenten, vastgelegd op een natuurlijke en ongedwongen manier.',
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.',
],
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' },
},
pricing: {
title: 'Prijzen',
lead: 'Pakketten',
decorations: [
{ src: deco1, alt: '', width: 143, height: 112 },
{ src: deco2, alt: '', width: 239, height: 224 },
],
},
testimonials: {
title: 'Lieve woorden',
},
contact: {
title: 'Contact',
lead: 'Wil je meer informatie ontvangen? Neem gerust contact met mij op.',
},
instagram: {
title: 'Instagram',
handle: '@andreaslopfotografie',
// Photos the page already loads, so the tiles cost no extra download;
// Andrea can swap them until the API delivers the real feed
photos: [
...introPhotos,
...testimonials.map((testimonial) => testimonial.image),
],
},
};
export default homeContent;