Shares the contact form, contact card and privacy line

ContactPanel holds the coming-soon gate, the shoot options, the package
chosen via ?pakket= and the form, which loads as its own chunk either
when it comes near the screen (homepage) or right away (contact page).
ContactDetails shows the ways to reach Andrea as a card with icons. A
privacy line now sits under the form and under the coming-soon notice,
and the reply time in the thank-you comes from the site content.
Instagram is listed before Facebook, so the footer and hero follow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-25 18:26:48 +01:00
co-authored by Claude Opus 5.5
parent 4c257b7ac0
commit 26a8bd9469
20 changed files with 789 additions and 90 deletions
@@ -12,6 +12,7 @@ import {
Textarea,
useRecipe,
} from '@chakra-ui/react';
import PrivacyNote from '@/components/PrivacyNote/PrivacyNote';
import { submitContactForm } from '@/contact/submitContactForm';
import {
CONTACT_LIMITS,
@@ -39,12 +40,11 @@ type ContactFormProps = {
preselect?: { shoot: string; key: number };
mailSubject: string;
email: EmailAddress;
// How soon Andrea answers, e.g. '1-2 werkdagen' (siteContent)
replyTime: string;
submit?: (payload: ContactPayload) => Promise<void>;
};
const SENT_MESSAGE =
'Bedankt voor je bericht! Ik reageer binnen 1-2 werkdagen.';
// The contact form (design .form): name and e-mail, the shoot, the question,
// and the browser-side anti-spam. Its behaviour is the pure
// contactFormReducer; this component wires it to the fields.
@@ -54,6 +54,7 @@ export default function ContactForm({
preselect,
mailSubject,
email,
replyTime,
submit = submitContactForm,
}: ContactFormProps) {
const reduce = (
@@ -106,7 +107,7 @@ export default function ContactForm({
borderStartColor="accent"
bg="paper.alt"
>
{SENT_MESSAGE}
{`Bedankt voor je bericht! Ik reageer binnen ${replyTime}.`}
</Box>
);
}
@@ -298,6 +299,7 @@ export default function ContactForm({
>
{disabled ? 'Versturen…' : '(Aan)vraag versturen'}
</chakra.button>
<PrivacyNote />
</Stack>
</chakra.form>
);