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:
@@ -1,6 +1,7 @@
|
||||
import { createSystem, defaultConfig, defineConfig } from '@chakra-ui/react';
|
||||
import carouselControlRecipe from './recipes/carouselControl';
|
||||
import containerRecipe from './recipes/container';
|
||||
import formControlRecipe from './recipes/formControl';
|
||||
import iconControlRecipe from './recipes/iconControl';
|
||||
import linkRecipe from './recipes/link';
|
||||
import linkButtonRecipe from './recipes/linkButton';
|
||||
@@ -55,6 +56,8 @@ const config = defineConfig({
|
||||
deep: { value: '#5f6a58' }, // accent hover
|
||||
},
|
||||
sand: { value: '#d9cdbc' }, // zachte vlakken en decoratie
|
||||
// Form errors: the design's #a4443a, 5.7:1 on paper, 6.1:1 on white
|
||||
error: { value: '#a4443a' },
|
||||
},
|
||||
fonts: {
|
||||
heading: {
|
||||
@@ -96,6 +99,12 @@ const config = defineConfig({
|
||||
// Binnen de header: de hamburger boven het logo en menu
|
||||
menuToggle: { value: 1 },
|
||||
},
|
||||
shadows: {
|
||||
// Soft shadow under a floating panel (design --shadow-md)
|
||||
panel: {
|
||||
value: '0 12px 40px color-mix(in srgb, {colors.ink} 12%, transparent)',
|
||||
},
|
||||
},
|
||||
gradients: {
|
||||
// Donker verloop over hero-foto's, zodat witte tekst leesbaar blijft
|
||||
scrim: {
|
||||
@@ -210,6 +219,7 @@ const config = defineConfig({
|
||||
linkButton: linkButtonRecipe,
|
||||
iconControl: iconControlRecipe,
|
||||
carouselControl: carouselControlRecipe,
|
||||
formControl: formControlRecipe,
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user