play page : replace backgroundColor with backgroundImage, remove curves. closes #37
All checks were successful
Deploy / Deploy to Production (push) Successful in 21s
All checks were successful
Deploy / Deploy to Production (push) Successful in 21s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
3339528d9b
commit
1cce398ee4
3 changed files with 53 additions and 82 deletions
|
|
@ -79,13 +79,10 @@ tabs:
|
|||
uploads:
|
||||
template: image
|
||||
help: Image affichée à droite de la description (sur ordinateur uniquement)
|
||||
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%)
|
||||
translate: false
|
||||
help: À remplir avec la valeur de la propriété CSS `background-color` souhaitée
|
||||
backgroundImage:
|
||||
label: Image d'arrière-plan
|
||||
type: files
|
||||
multiple: false
|
||||
layout: cards
|
||||
|
||||
seo: seo/page
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ $specificData = [
|
|||
'thumbnail' => $game->thumbnail()->toFile()?->url(),
|
||||
'thumbnailSrcset' => $game->thumbnail()->toFile()?->srcset('thumbnail'),
|
||||
'thumbnailWebp' => $game->thumbnail()->toFile()?->srcset('thumbnail-webp'),
|
||||
'backgroundColor' => $game->backgroundColor()->value() ?: null,
|
||||
'backgroundImage' => $game->backgroundImage()->toFile()?->url(),
|
||||
'preview' => $game->preview()->toFile()?->url(),
|
||||
'playLink' => $game->playLink()->value() ?: null,
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue