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

@ -89,13 +89,19 @@
.k-header-title{ .k-header-title{
font-family: var(--font-title); font-family: var(--font-title);
} }
.k-header-title-text{ .k-panel[data-template="home"] .k-header-title-text, .k-panel[data-template="expertise"] .k-header-title-text,
.k-panel[data-template="portfolio"] .k-header-title-text, .k-panel[data-template="jouer"] .k-header-title-text,
.k-panel[data-template="about"] .k-header-title-text, .k-panel[data-template="blog"] .k-header-title-text{
text-transform: uppercase; text-transform: uppercase;
} }
.k-header-title .k-icon{ .k-header-title .k-icon{
--icon-size: 28px; --icon-size: 28px;
} }
.k-text a{
color: var(--color-green-perso);
}
.k-block-container:not(:last-of-type) { .k-block-container:not(:last-of-type) {
border-bottom: 1px dashed var(--color-gray-600); border-bottom: 1px dashed var(--color-gray-600);
} }

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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