All checks were successful
Deploy / Deploy to Production (push) Successful in 5m22s
- Renommage dossier content 3_play → 3_jouer (slug /jouer) - Champ backgroundColor (code-editor) dans game.yml + exposé en API - playLinks simplifié en champ url simple → playLink dans l'API - Variable CSS --background-color sur la section .play - Bouton "Jouer" avec icône play-icon (SVG data URI dans buttons.css) - Plugin sylvainjule/code-editor ajouté via composer Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
83 lines
2 KiB
YAML
83 lines
2 KiB
YAML
title: Jeu
|
|
icon: play
|
|
|
|
status:
|
|
draft:
|
|
label: Brouillon
|
|
text: Le jeu n'est pas visible
|
|
unlisted:
|
|
label: Non listé
|
|
text: Le jeu est accessible mais pas dans la liste
|
|
listed:
|
|
label: Public
|
|
text: Le jeu est visible publiquement
|
|
|
|
columns:
|
|
- width: 2/10
|
|
fields:
|
|
thumbnail:
|
|
label: Vignette
|
|
type: files
|
|
layout: cards
|
|
size: small
|
|
max: 1
|
|
accept: image/*
|
|
translate: false
|
|
image:
|
|
ratio: 1/1
|
|
uploads:
|
|
template: image
|
|
help: Pour le carousel de navigation parmi les jeux
|
|
- width: 2/10
|
|
fields:
|
|
lettering:
|
|
label: Lettrage
|
|
type: files
|
|
multiple: false
|
|
translate: false
|
|
layout: cards
|
|
size: tiny
|
|
uploads:
|
|
template: image
|
|
help: Affiché au-dessus de la description
|
|
width: 1/3
|
|
- width: 3/10
|
|
fields:
|
|
description:
|
|
label: Description
|
|
type: writer
|
|
marks:
|
|
- bold
|
|
- italic
|
|
- green
|
|
- pixel
|
|
- underline
|
|
- strike
|
|
- clear
|
|
- link
|
|
playLinks:
|
|
label: Lien(s) pour jouer
|
|
help: Laissez vide pour afficher "à venir / coming soon"
|
|
type: url
|
|
|
|
- width: 3/10
|
|
sections:
|
|
previewCol:
|
|
type: fields
|
|
fields:
|
|
backgroundColor:
|
|
label: Couleur d'arrière plan
|
|
type: code-editor
|
|
language: css
|
|
size: custom-size
|
|
default: radial-gradient(circle at 20% 80%, rgb(240, 154, 110) 0%, rgb(233, 101, 122) 100%)
|
|
help: À remplir avec la valeur de la propriété CSS `background-color` souhaitée
|
|
preview:
|
|
label: Aperçu
|
|
type: files
|
|
layout: cards
|
|
multiple: false
|
|
translate: false
|
|
uploads:
|
|
template: image
|
|
help: Image affichée à droite de la description (sur ordinateur uniquement)
|