This commit is contained in:
parent
4c586a1b86
commit
4d425dd126
3 changed files with 4 additions and 6 deletions
|
|
@ -22,6 +22,8 @@ tabs:
|
||||||
type: writer
|
type: writer
|
||||||
label: Titre
|
label: Titre
|
||||||
help: Titre principal de la section intro.
|
help: Titre principal de la section intro.
|
||||||
|
marks:
|
||||||
|
- pixel
|
||||||
subtitle:
|
subtitle:
|
||||||
type: text
|
type: text
|
||||||
buttons: false
|
buttons: false
|
||||||
|
|
|
||||||
|
|
@ -20,9 +20,7 @@ tabs:
|
||||||
fields:
|
fields:
|
||||||
subtitle:
|
subtitle:
|
||||||
label: Sous-titre
|
label: Sous-titre
|
||||||
type: writer
|
type: text
|
||||||
marks: false
|
|
||||||
nodes: false
|
|
||||||
ctaText:
|
ctaText:
|
||||||
width: 1/2
|
width: 1/2
|
||||||
label: Texte du bouton CTA
|
label: Texte du bouton CTA
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,7 @@
|
||||||
|
|
||||||
$specificData = [
|
$specificData = [
|
||||||
'hero' => [
|
'hero' => [
|
||||||
'title' => $page->heroTitle()->value(),
|
'subtitle' => $page->subtitle()->inline()->value(),
|
||||||
'titleHighlight' => $page->heroTitleHighlight()->value(),
|
|
||||||
'subtitle' => $page->heroSubtitle()->value(),
|
|
||||||
'ctaText' => $page->ctaText()->value(),
|
'ctaText' => $page->ctaText()->value(),
|
||||||
'ctaPath' => $page->ctaLink()->toPage()?->id() ?? '#',
|
'ctaPath' => $page->ctaLink()->toPage()?->id() ?? '#',
|
||||||
'image' => $page->heroImage()->toFile()?->url()
|
'image' => $page->heroImage()->toFile()?->url()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue