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
+13 -5
View File
@@ -39,10 +39,18 @@ export const anyHref = fc.oneof(
fc.string(),
);
export const socialLink: fc.Arbitrary<SocialLink> = fc.record({
platform,
href: anyHref,
});
export const socialLink: fc.Arbitrary<SocialLink> = fc.record(
{
platform,
href: anyHref,
// Missing, blank, padded or ordinary, as an editor might type it
label: fc.oneof(
fc.constantFrom('', ' ', ' @andreaslopfotografie '),
fc.string({ maxLength: 30 }),
),
},
{ requiredKeys: ['platform', 'href'] },
);
// Een geldig deel van een e-mailadres: geen spaties, geen @
const emailPart = fc.stringMatching(/^[a-z0-9._-]{1,20}$/);
@@ -65,7 +73,7 @@ export const anySiteContent: fc.Arbitrary<SiteContent> = fc.record({
footerIntro: fc.string(),
socials: fc.array(socialLink, { maxLength: 4 }),
email: validEmail,
contactForm: fc.record({ enabled: fc.boolean() }),
contactForm: fc.record({ enabled: fc.boolean(), replyTime: fc.string() }),
serviceArea: fc.array(
fc.record({
type: fc.constantFrom(