world-game/site/blueprints/pages/project.yml
isUnknown 133651c35d
All checks were successful
Deploy / Deploy to Production (push) Successful in 19s
portfolio : animation horizontale — toggle panel + composant
Ajout du mode horizontal dans GalleryAnimation (5 rangées, scrollLeft/scrollRight)
avec toggle vertical/horizontal dans le panel projet.

refs #21

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-21 14:37:05 +01:00

160 lines
4.1 KiB
YAML

title: Projet
icon: image
# status:
# draft:
# label: Brouillon
# text: Le projet n'est pas visible
# unlisted:
# label: Non listé
# text: Le projet est accessible mais pas dans la liste
# listed:
# label: Publié
# text: Le projet est visible publiquement
columns:
# Colonne principale
main:
width: 2/3
sections:
# Informations principales
info:
type: fields
fields:
catchPhrase:
label: Phrase d'accroche
type: writer
nodes: false
marks:
- bold
- italic
- green
- pixel
- underline
- strike
- clear
- link
help: "Ex: Transformez votre lecture en aventure."
description:
label: Description
type: writer
marks:
- bold
- italic
- green
- pixel
- underline
- strike
- clear
- link
maxlength: 500
help: Description complète du projet
images:
type: fields
fields:
imagesGallery:
width: 2/3
label: Galerie d'images
type: files
layout: cards
size: small
min: 6
accept: image/*
translate: false
image:
back: #ffffff
uploads:
template: image
help: "Une animation sera générée à partir des images de ce champ. Minimum optimal d'images : 6"
mockup:
width: 1/3
label: Image de mise en situation
type: files
layout: cards
max: 1
size: small
accept: image/*
translate: false
image:
ratio: 1/1
back: #ffffff
uploads:
template: image
help: Écran de jeu mis en situation sur un appareil
# Sidebar
sidebar:
width: 1/3
sections:
meta:
type: fields
fields:
thumbnail:
label: Vignette
type: files
layout: cards
size: small
max: 1
accept: image/*
translate: false
image:
ratio: 1/1
uploads:
template: image
help: Petite image carrée représentant le jeu
galleryAnimationMode:
label: Mode d'animation de la galerie
type: toggles
default: vertical
options:
- value: vertical
text: Vertical
icon: arrow-up-down
- value: horizontal
text: Horizontal
icon: arrow-left-right
help: "Direction du défilement des images dans la galerie animée"
galleryBackgroundColor:
label: Couleur d'arrière-plan de la galerie animée
type: color
alpha: false
galleryBackgroundImage:
label: Image d'arrière-plan
type: files
multiple: false
keywords:
label: Mots clés
type: structure
fields:
label:
label: Label
required: true
type: text
width: 1/2
placeholder: "Ex: Impact, Catégorie..."
text:
label: Texte
required: true
type: text
width: 1/2
# Liens externes
links:
type: fields
fields:
externalLinks:
label: Liens externes
type: structure
fields:
label:
label: Nom du bouton
required: true
type: text
width: 1/2
placeholder: "Ex: App Store, Site web..."
url:
label: URL
required: true
type: url
width: 1/2