From 847cd588c275e6ba283f0df5eeaf88a238095e95 Mon Sep 17 00:00:00 2001 From: antonin gallon Date: Mon, 19 Jan 2026 17:24:28 +0100 Subject: [PATCH] =?UTF-8?q?champs=20t=C3=A9l=C3=A9phone=20vir=C3=A9=20des?= =?UTF-8?q?=20donn=C3=A9e=20partag=C3=A9e,=20champs=20des=20champs=20struc?= =?UTF-8?q?ture=20rendu=20obligatoire,=20correction=20pour=20que=20seul=20?= =?UTF-8?q?les=20bon=20titre=20du=20panel=20soit=20en=20uppercase,=20assur?= =?UTF-8?q?er=20que=20la=20bonne=20image=20sera=20utilis=C3=A9=20en=20imag?= =?UTF-8?q?e=20de=20pr=C3=A9visualisation=20dans=20jouer,=20portfolio,=20e?= =?UTF-8?q?tc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/css/custom-panel.css | 8 +++++++- site/blueprints/pages/blog.yml | 2 ++ site/blueprints/pages/game.yml | 2 ++ site/blueprints/pages/jouer.yml | 1 + site/blueprints/pages/portfolio.yml | 1 + site/blueprints/pages/project.yml | 4 ++++ site/blueprints/site.yml | 12 ++++-------- 7 files changed, 21 insertions(+), 9 deletions(-) diff --git a/assets/css/custom-panel.css b/assets/css/custom-panel.css index 0d9b442..6ca7059 100644 --- a/assets/css/custom-panel.css +++ b/assets/css/custom-panel.css @@ -89,13 +89,19 @@ .k-header-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; } .k-header-title .k-icon{ --icon-size: 28px; } +.k-text a{ + color: var(--color-green-perso); +} + .k-block-container:not(:last-of-type) { border-bottom: 1px dashed var(--color-gray-600); } diff --git a/site/blueprints/pages/blog.yml b/site/blueprints/pages/blog.yml index 96e0f88..3e086f3 100644 --- a/site/blueprints/pages/blog.yml +++ b/site/blueprints/pages/blog.yml @@ -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 diff --git a/site/blueprints/pages/game.yml b/site/blueprints/pages/game.yml index 97dfea7..536e970 100644 --- a/site/blueprints/pages/game.yml +++ b/site/blueprints/pages/game.yml @@ -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 diff --git a/site/blueprints/pages/jouer.yml b/site/blueprints/pages/jouer.yml index cd6e93e..5f2d6bf 100644 --- a/site/blueprints/pages/jouer.yml +++ b/site/blueprints/pages/jouer.yml @@ -12,6 +12,7 @@ tabs: layout: cards size: medium image: + query: page.thumbnail.toFile cover: true template: game info: "{{ page.status_label }}" diff --git a/site/blueprints/pages/portfolio.yml b/site/blueprints/pages/portfolio.yml index 0748cef..726d6f5 100644 --- a/site/blueprints/pages/portfolio.yml +++ b/site/blueprints/pages/portfolio.yml @@ -13,6 +13,7 @@ tabs: layout: cards size: medium image: + query: page.thumbnail.toFile cover: true template: project info: "{{ page.catchphrase }}" diff --git a/site/blueprints/pages/project.yml b/site/blueprints/pages/project.yml index fcfbca6..b29b408 100644 --- a/site/blueprints/pages/project.yml +++ b/site/blueprints/pages/project.yml @@ -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 diff --git a/site/blueprints/site.yml b/site/blueprints/site.yml index 7d5a376..867c9b2 100644 --- a/site/blueprints/site.yml +++ b/site/blueprints/site.yml @@ -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: