Adds the Contact section to the homepage

Adds the contact form with the live fields, validation and browser-side
anti-spam, behind a coming-soon notice with a mail button until the API
exists. A "Boek" link on a price card selects its package, tidies the
URL and moves focus to the form. The form loads only when it comes near
the screen, so the hero does not wait for it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-21 00:36:43 +02:00
co-authored by Claude Opus 5.5
parent 0b8e8d5f8b
commit 0fce403ebc
46 changed files with 2505 additions and 16 deletions
+4
View File
@@ -69,6 +69,10 @@ const homeContent: HomeContent = {
testimonials: {
title: 'Lieve woorden',
},
contact: {
title: 'Contact',
lead: 'Wil je meer informatie ontvangen? Neem gerust contact met mij op.',
},
};
export default homeContent;
+2
View File
@@ -16,6 +16,8 @@ const siteContent: SiteContent = {
},
],
email: { user: 'info', domain: 'andreaslop.nl' },
// Switched on once the API can receive the form
contactForm: { enabled: false },
};
export default siteContent;
+6
View File
@@ -20,6 +20,8 @@ export interface SiteContent {
footerIntro: string;
socials: SocialLink[];
email: EmailAddress;
// Off: the form is shown dimmed under a "coming soon" notice (FR-HP-07)
contactForm: { enabled: boolean };
}
// An image as the API will deliver it. width and height are the intrinsic
@@ -74,6 +76,10 @@ export interface HomeContent {
testimonials: {
title: string;
};
contact: {
title: string;
lead: string;
};
}
export interface HeroSlide {