Fix: champs camelCase + anglais, contact data, nettoyage debug
All checks were successful
Deploy / Deploy to Production (push) Successful in 15s

- Blueprint site.yml : renommage en camelCase (contactEmail, contactAddress, socialLinks, legalNotices)
- Controller site.php : mentionsLegales() → legalNotices(), fix (string) casts pour la sérialisation JSON
- state/site.svelte.js : ajout champ contact
- Menu.svelte : nouveau composant dialog pour le menu overlay
- Header.svelte : intégration Menu, animation hamburger CSS
- router/index.js : suppression des console.log de debug

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
isUnknown 2026-02-19 13:43:50 +01:00
parent cfdaf1a6e2
commit 3e9657430f
6 changed files with 296 additions and 16 deletions

View file

@ -14,19 +14,19 @@ columns:
status: listed
- width: 1/2
fields:
contact_email:
contactEmail:
label: Email
type: email
width: 1/2
translate: false
contact_address:
contactAddress:
label: Adresse
type: writer
buttons: false
nodes: false
width: 1/2
placeholder: 33 rue Jean Dupont
social_links:
socialLinks:
label: Liens réseaux sociaux
type: structure
translate: false
@ -55,7 +55,7 @@ columns:
contact:
type: fields
fields:
mentions_legales:
legalNotices:
label: Mentions légales (PDF)
type: files
max: 1