champs téléphone viré des donnée partagée, champs des champs structure rendu obligatoire, correction pour que seul les bon titre du panel soit en uppercase, assurer que la bonne image sera utilisé en image de prévisualisation dans jouer, portfolio, etc

This commit is contained in:
antonin gallon 2026-01-19 17:24:28 +01:00
parent e2a771feaa
commit 847cd588c2
7 changed files with 21 additions and 9 deletions

View file

@ -33,6 +33,7 @@ tabs:
max: 1
layout: cards
image:
query: page.cover.toFile
cover: true
ratio: 16/9
info: "{{ page.date.toDate('d/m/Y') }}"
@ -43,6 +44,7 @@ tabs:
layout: cards
size: full
image:
query: page.cover.toFile
ratio: 16/9
cover: true
template: article

View file

@ -85,10 +85,12 @@ columns:
fields:
link_label:
label: Nom du bouton
required: true
type: text
width: 1/2
placeholder: "Ex: App Store, Site web..."
link_url:
label: URL
required: true
type: url
width: 1/2

View file

@ -12,6 +12,7 @@ tabs:
layout: cards
size: medium
image:
query: page.thumbnail.toFile
cover: true
template: game
info: "{{ page.status_label }}"

View file

@ -13,6 +13,7 @@ tabs:
layout: cards
size: medium
image:
query: page.thumbnail.toFile
cover: true
template: project
info: "{{ page.catchphrase }}"

View file

@ -108,11 +108,13 @@ columns:
fields:
keywords_label:
label: label
required: true
type: text
width: 1/2
placeholder: "Ex: App Store, Site web..."
keywords_text:
label: text
required: true
type: text
width: 1/2
@ -126,10 +128,12 @@ columns:
fields:
link_label:
label: Nom du bouton
required: true
type: text
width: 1/2
placeholder: "Ex: App Store, Site web..."
link_url:
label: URL
required: true
type: url
width: 1/2

View file

@ -12,25 +12,19 @@ columns:
sortable: true
create: false
status: listed
- width: 1/2
fields:
contact_email:
label: Email
type: email
width: 1/3
translate: false
contact_phone:
label: Téléphone
type: tel
width: 1/3
width: 1/2
translate: false
contact_address:
label: Adresse
type: writer
buttons: false
nodes: false
width: 1/3
width: 1/2
placeholder: 33 rue Jean Dupont
social_links:
label: Liens réseaux sociaux
@ -39,11 +33,13 @@ columns:
fields:
label:
label: Nom
required: true
type: text
width: 1/3
placeholder: "Ex: LinkedIn, Instagram..."
url:
label: URL
required: true
type: url
width: 1/3
picto: