world-game/site/blueprints/pages/project.yml
isUnknown 69859cc60f Refactor: snake_case → camelCase dans blueprints, templates et vues
- Blueprints : renommage des champs (member_name, related_articles,
  background_video, play_links, images_gallery, external_links) et
  des noms de sections
- Templates JSON PHP : clés de sortie et appels ->method() en camelCase
- Vues Svelte (Play, Portfolio) : accès aux données alignés

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 13:40:33 +01:00

140 lines
3.4 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
help: Description complète du projet
images:
type: fields
fields:
imagesGallery:
width: 2/3
label: Galerie d'image
type: files
layout: cards
size: small
min: 6
accept: image/*
translate: false
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
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
galleryBackgroundColor:
label: Couleur d'arrière-plan de la galerie animée
type: color
alpha: 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