investigation → simplification du hero
All checks were successful
Deploy / Deploy to Production (push) Successful in 12s
All checks were successful
Deploy / Deploy to Production (push) Successful in 12s
This commit is contained in:
parent
65e8290edf
commit
cc7c9f5dab
2 changed files with 25 additions and 41 deletions
|
|
@ -32,37 +32,17 @@ tabs:
|
|||
type: writer
|
||||
nodes: false
|
||||
buttons: false
|
||||
heroType:
|
||||
label: Type de hero
|
||||
type: select
|
||||
default: image
|
||||
options:
|
||||
image: Image simple
|
||||
video: Vidéo
|
||||
default: image
|
||||
width: 1/3
|
||||
heroImages:
|
||||
label: Images hero
|
||||
type: files
|
||||
multiple: true
|
||||
layout: cards
|
||||
width: 1/3
|
||||
when:
|
||||
heroType: image
|
||||
videoPreview:
|
||||
label: Preview
|
||||
label: Preview vidéo
|
||||
type: files
|
||||
multiple: false
|
||||
help: Extrait joué en autoplay muet.
|
||||
width: 1/3
|
||||
when:
|
||||
heroType: video
|
||||
help: "Extrait joué en autoplay muet. À remplir avec l'URL vidéo — les deux champs vont ensemble."
|
||||
width: 1/2
|
||||
videoUrl:
|
||||
label: URL vidéo complète (YouTube embed)
|
||||
type: url
|
||||
width: 1/3
|
||||
when:
|
||||
heroType: video
|
||||
width: 1/2
|
||||
help: "À remplir avec la preview — les deux champs vont ensemble."
|
||||
heroCaption:
|
||||
label: Légende du hero
|
||||
type: writer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue