fix home subtitle
All checks were successful
Deploy / Deploy to Production (push) Successful in 19s

This commit is contained in:
isUnknown 2026-03-17 10:34:29 +01:00
parent 4c586a1b86
commit 4d425dd126
3 changed files with 4 additions and 6 deletions

View file

@ -22,6 +22,8 @@ tabs:
type: writer
label: Titre
help: Titre principal de la section intro.
marks:
- pixel
subtitle:
type: text
buttons: false

View file

@ -20,9 +20,7 @@ tabs:
fields:
subtitle:
label: Sous-titre
type: writer
marks: false
nodes: false
type: text
ctaText:
width: 1/2
label: Texte du bouton CTA

View file

@ -2,9 +2,7 @@
$specificData = [
'hero' => [
'title' => $page->heroTitle()->value(),
'titleHighlight' => $page->heroTitleHighlight()->value(),
'subtitle' => $page->heroSubtitle()->value(),
'subtitle' => $page->subtitle()->inline()->value(),
'ctaText' => $page->ctaText()->value(),
'ctaPath' => $page->ctaLink()->toPage()?->id() ?? '#',
'image' => $page->heroImage()->toFile()?->url()