avancement back

This commit is contained in:
antonin gallon 2026-01-14 12:15:46 +01:00
parent c1c4fda329
commit 724bcb4918
10 changed files with 255 additions and 347 deletions

View file

@ -14,55 +14,50 @@ icon: play
columns:
# Colonne principale
main:
width: 2/3
- width: 2/3
sections:
# Informations principales
info:
type: fields
fields:
title:
label: Nom du jeu
type: text
required: true
help: "Ex: Mozzle"
description:
label: Description
type: textarea
size: medium
help: "Un thème, 5 mots cachés... mais chacun a une lettre manquante !"
rules:
label: Règles du jeu
type: blocks
fieldsets:
- heading
- text
- list
# Sidebar
sidebar:
width: 1/3
- width: 1/3
sections:
# Visuel
visual:
type: fields
fields:
cover:
label: Image de couverture
background_image:
label: Image d'arrière plan
type: files
max: 1
accept: image/*
uploads:
template: image
help: Image affichée en arrière-plan quand le jeu est sélectionné
thumbnail:
label: Vignette
type: files
max: 1
accept: image/*
uploads:
template: image
help: Petite image carrée représentant le jeu
badge:
label: Badge
type: select
type: tags
max: 1
options:
none: Aucun
new: NEW
coming_soon: Coming Soon
popular: Populaire
- NEW
- Populaire
help: Choisissez une suggestion ou tapez votre propre badge
# Statut et liens
# Statut
status:
type: fields
fields:
@ -75,12 +70,20 @@ columns:
available: Disponible
coming_soon: Bientôt disponible
maintenance: En maintenance
play_link:
label: Lien pour jouer
type: url
help: "URL vers le jeu intégré ou externe"
is_embedded:
label: Jeu intégré
type: toggle
text: Le jeu s'affiche directement sur la page
default: true
# Liens
links:
type: fields
fields:
play_links:
label: Lien(s) pour jouer
type: structure
fields:
link_label:
label: Nom du bouton
type: text
width: 1/2
placeholder: "Ex: App Store, Site web..."
link_url:
label: URL
type: url
width: 1/2