Adds the Contact page

The contact page in the approved layout: the form next to a photo with
the contact card on wide screens, and the card with a small portrait
above the form on phones, where the large photo is never downloaded.
/contact?pakket= preselects a package. The page is indexed, with its
own title, description, preview image and ContactPage structured data.
Over mij and Soorten fotoshoots now link to /contact. The green button
gets a darker background, so its white text meets the contrast minimum.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-25 19:27:18 +01:00
co-authored by Claude Opus 5.5
parent ad85e3fe5b
commit e92b652061
25 changed files with 485 additions and 53 deletions
+2 -3
View File
@@ -26,8 +26,7 @@ const aboutContent: AboutPageContent = {
'Nieuwsgierig naar mijn werk? Bekijk ',
{ text: 'mijn portfolio', to: '/portfolio' },
' of ',
// The homepage contact section until /contact exists
{ text: 'neem contact op', to: '/', hash: 'contact' },
{ text: 'neem contact op', to: '/contact' },
' voor een fotoshoot!',
],
],
@@ -65,7 +64,7 @@ const aboutContent: AboutPageContent = {
'Wanneer ik niet achter de camera sta ben ik bezig met tekenen, schilderen of lezen.',
],
},
booking: { label: 'Boek je shoot', to: '/', hash: 'contact' },
booking: { label: 'Boek je shoot', to: '/contact' },
person: {
name: 'Andrea Slop',
jobTitle: 'Lifestyle fotograaf',
+32
View File
@@ -0,0 +1,32 @@
import type { ContactPageContent } from './types';
// Images
import photo from '../assets/contact/contact.jpg';
import portrait from '../assets/contact/contact-portret.jpg';
// Static content of the contact page until the CMS API exists (FR-CP-01,
// FR-CP-04, FR-CP-05)
const contactContent: ContactPageContent = {
head: {
eyebrow: 'Neem contact op',
title: 'Contact',
intro: 'Wil je een fotoshoot boeken of meer informatie ontvangen? Stuur me een berichtje, ik reageer binnen {reactietermijn}.',
},
formTitle: 'Stuur me een bericht',
detailsTitle: 'Direct contact',
image: {
src: photo,
alt: 'Andrea Slop kijkt lachend over haar schouder, met haar camera in de hand, op een bospad',
width: 840,
height: 1050,
},
portrait: {
src: portrait,
// Decorative next to the heading; the card does not use this text
alt: 'Andrea Slop',
width: 144,
height: 144,
},
};
export default contactContent;
+1 -1
View File
@@ -16,7 +16,7 @@ const shootTypesPageContent: ShootTypesPageContent = {
' op de homepage of stel je vraag via het contactformulier.',
],
// The homepage contact section until /contact exists
booking: { label: 'Boek je shoot', to: '/', hash: 'contact' },
booking: { label: 'Boek je shoot', to: '/contact' },
},
};
+14
View File
@@ -166,6 +166,20 @@ export interface AboutPageContent {
person: { name: string; jobTitle: string; knowsAbout: string[] };
}
// Content of the contact page (/contact). The intro has one placeholder,
// {reactietermijn}, filled in with siteContent.contactForm.replyTime.
export interface ContactPageContent {
head: { eyebrow: string; title: string; intro: string };
// Heading of the form, only for assistive technology
formTitle: string;
// Heading of the contact card
detailsTitle: string;
// 4:5 photo next to the form on wide screens
image: ContentImage;
// Small square crop for the round photo in the card on narrow screens
portrait: ContentImage;
}
// Content of the shoot types page (/soorten-fotoshoots); the shoots
// themselves come from shootTypes
export interface ShootTypesPageContent {