world-game/site/blueprints/pages/home.yml
isUnknown 50f81269ac Feat: Home récupère subtitle et CTA depuis les données Kirby
- Renommage des champs blueprint : cta_text → ctaText, cta_link → ctaLink
- Template home.json.php : expose ctaText et ctaPath (id de page Kirby)
- Home.svelte : suppression des traductions en dur, lecture de data.hero

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-18 12:08:08 +01:00

54 lines
1.4 KiB
YAML

title: Accueil
icon: home
status:
draft:
label: Brouillon
text: La page est accessible uniquement pour les éditeurs connectés ou via un lien secret
listed:
label: Public
text: La page est accessible par tout le monde
tabs:
# Hero Section
hero:
label: Contenu
icon: text
columns:
- width: 2/3
sections:
hero_content:
type: fields
fields:
subtitle:
label: Sous-titre
type: writer
marks: false
nodes: false
ctaText:
width: 1/2
label: Texte du bouton CTA
help: CTA pour call to action
type: text
default: Explorer
ctaLink:
width: 1/2
label: Lien du bouton CTA
help: CTA pour call to action
type: pages
max: 1
- width: 1/3
sections:
media:
type: fields
fields:
background_video:
label: Vidéo d'arrière-plan
type: files
layout: cards
max: 1
accept: video/*
translate: false
image:
ratio: 16/9
cover: true
uploads:
template: video