Connects the contact form to the CMS API through the cms-client package

Copies the headless cms-client package (SlpSoftware 93fa729) and builds the
form on useContactForm: availability check when the form is in view (no
request while switched off), the readable shoot label as subject, the Friendly
Captcha widget as its own lazy chunk, trackEvent for contact-sent and
contact-failed. Removes the old reducer, validation and submit stub.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-10 23:21:02 +01:00
co-authored by Claude Sonnet 5.5
parent 4da314c0ba
commit e09459423f
46 changed files with 2402 additions and 1038 deletions
+1
View File
@@ -56,6 +56,7 @@
"@emotion/react": "^11.14.0",
"@fontsource/jost": "^5.3.0",
"@fontsource/marcellus": "^5.3.0",
"@friendlycaptcha/sdk": "^1.1.3",
"@sentry/react": "^11.8.0",
"@tanstack/react-router": "1.170.46",
"@tanstack/react-start": "1.169.4",