From ae85772faa8eb5b250922511f03174c83ea39ccc Mon Sep 17 00:00:00 2001 From: antonin gallon Date: Wed, 14 Jan 2026 14:58:24 +0100 Subject: [PATCH 1/3] =?UTF-8?q?ajout=20des=20membre=20de=20l'=C3=A9quipe?= =?UTF-8?q?=20en=20card?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- site/blueprints/files/member.yml | 2 +- site/blueprints/pages/about.yml | 3 ++- site/blueprints/pages/project.yml | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/site/blueprints/files/member.yml b/site/blueprints/files/member.yml index 4527e03..6e0c177 100644 --- a/site/blueprints/files/member.yml +++ b/site/blueprints/files/member.yml @@ -2,7 +2,7 @@ title: Membre de l'équipe accept: image/* fields: - name: + member_name: label: Nom type: text required: true diff --git a/site/blueprints/pages/about.yml b/site/blueprints/pages/about.yml index 3b2f7e8..f1aebdb 100644 --- a/site/blueprints/pages/about.yml +++ b/site/blueprints/pages/about.yml @@ -39,8 +39,9 @@ tabs: size: medium template: member image: - ratio: 1/1 + ratio: 2/3 cover: true + text: "{{ file.member_name }}" info: "{{ file.role }}" # SEO seo: diff --git a/site/blueprints/pages/project.yml b/site/blueprints/pages/project.yml index 0f769cc..13ee888 100644 --- a/site/blueprints/pages/project.yml +++ b/site/blueprints/pages/project.yml @@ -54,6 +54,7 @@ columns: type: files layout: cards max: 1 + size: small accept: image/* image: ratio: 1/1 From b0391311024b0e1de557e0438129916b1cc86083 Mon Sep 17 00:00:00 2001 From: antonin gallon Date: Wed, 14 Jan 2026 15:34:31 +0100 Subject: [PATCH 2/3] =?UTF-8?q?r=C3=A9glage=20de=20tout=20les=20champs=20t?= =?UTF-8?q?exte=20en=20writer=20avec=20ou=20sans=20marks=20et=20node?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- site/blueprints/pages/about.yml | 16 ---------------- site/blueprints/pages/article.yml | 24 +++++++++--------------- site/blueprints/pages/blog.yml | 7 +------ site/blueprints/pages/default.yml | 3 +-- site/blueprints/pages/expertise.yml | 19 ++----------------- site/blueprints/pages/game.yml | 3 +-- site/blueprints/pages/home.yml | 21 +++------------------ site/blueprints/pages/jouer.yml | 5 ----- site/blueprints/pages/portfolio.yml | 17 ----------------- site/blueprints/pages/project.yml | 6 +++--- 10 files changed, 20 insertions(+), 101 deletions(-) diff --git a/site/blueprints/pages/about.yml b/site/blueprints/pages/about.yml index f1aebdb..c85fe93 100644 --- a/site/blueprints/pages/about.yml +++ b/site/blueprints/pages/about.yml @@ -43,19 +43,3 @@ tabs: cover: true text: "{{ file.member_name }}" info: "{{ file.role }}" - # SEO - seo: - label: SEO - icon: search - sections: - meta: - type: fields - fields: - meta_title: - label: Meta Title - type: text - meta_description: - label: Meta Description - type: textarea - size: small - maxlength: 160 diff --git a/site/blueprints/pages/article.yml b/site/blueprints/pages/article.yml index 4f59fa2..613e822 100644 --- a/site/blueprints/pages/article.yml +++ b/site/blueprints/pages/article.yml @@ -26,8 +26,12 @@ tabs: fields: intro: label: Introduction - type: textarea - size: small + type: writer + nodes: + - heading + headings: + - 1 + buttons: false help: "Résumé ou accroche de l'article" # Contenu @@ -73,8 +77,11 @@ tabs: cover: label: Image de couverture type: files + layout: cards max: 1 accept: image/* + image: + ratio: 16/9 uploads: template: image @@ -88,16 +95,3 @@ tabs: query: site.find('blog').children.listed max: 3 help: "Articles similaires à afficher en bas de page" - - # SEO - seo: - type: fields - fields: - meta_title: - label: Meta Title - type: text - meta_description: - label: Meta Description - type: textarea - size: small - maxlength: 160 diff --git a/site/blueprints/pages/blog.yml b/site/blueprints/pages/blog.yml index 7830517..0ab5e21 100644 --- a/site/blueprints/pages/blog.yml +++ b/site/blueprints/pages/blog.yml @@ -29,9 +29,4 @@ tabs: template: article info: "{{ page.date.toDate('d/m/Y') }}" create: article - sortBy: date desc - - # SEO - seo: - label: SEO - icon: search \ No newline at end of file + sortBy: date desc \ No newline at end of file diff --git a/site/blueprints/pages/default.yml b/site/blueprints/pages/default.yml index 0cb0129..8a36a7a 100644 --- a/site/blueprints/pages/default.yml +++ b/site/blueprints/pages/default.yml @@ -8,8 +8,7 @@ columns: type: fields fields: text: - type: textarea - size: huge + type: writer sidebar: width: 1/3 sections: diff --git a/site/blueprints/pages/expertise.yml b/site/blueprints/pages/expertise.yml index 452b751..5e787f9 100644 --- a/site/blueprints/pages/expertise.yml +++ b/site/blueprints/pages/expertise.yml @@ -13,7 +13,8 @@ tabs: fields: title: label: Titre - type: text + type: writer + nodes: false required: true help: "Ex: PLAY THE REAL." textes: @@ -23,19 +24,3 @@ tabs: text_bloc: label: bloc de texte type: text - # SEO - seo: - label: SEO - icon: search - sections: - meta: - type: fields - fields: - meta_title: - label: Meta Title - type: text - meta_description: - label: Meta Description - type: textarea - size: small - maxlength: 160 diff --git a/site/blueprints/pages/game.yml b/site/blueprints/pages/game.yml index aeb6dd4..204b53b 100644 --- a/site/blueprints/pages/game.yml +++ b/site/blueprints/pages/game.yml @@ -22,8 +22,7 @@ columns: fields: description: label: Description - type: textarea - size: medium + type: writer # Sidebar - width: 1/3 diff --git a/site/blueprints/pages/home.yml b/site/blueprints/pages/home.yml index 09fbd4c..b56961f 100644 --- a/site/blueprints/pages/home.yml +++ b/site/blueprints/pages/home.yml @@ -18,8 +18,9 @@ tabs: required: true subtitle: label: Sous-titre - type: textarea - size: small + type: writer + marks: false + nodes: false cta_text: width: 1/2 label: Texte du bouton CTA @@ -46,19 +47,3 @@ tabs: cover: true uploads: template: video - # SEO - seo: - label: SEO - icon: search - sections: - meta: - type: fields - fields: - meta_title: - label: Meta Title - type: text - meta_description: - label: Meta Description - type: textarea - size: small - maxlength: 160 diff --git a/site/blueprints/pages/jouer.yml b/site/blueprints/pages/jouer.yml index 14650c7..cd6e93e 100644 --- a/site/blueprints/pages/jouer.yml +++ b/site/blueprints/pages/jouer.yml @@ -16,8 +16,3 @@ tabs: template: game info: "{{ page.status_label }}" create: game - - # SEO - seo: - label: SEO - icon: search diff --git a/site/blueprints/pages/portfolio.yml b/site/blueprints/pages/portfolio.yml index 75a3ac6..4aa0011 100644 --- a/site/blueprints/pages/portfolio.yml +++ b/site/blueprints/pages/portfolio.yml @@ -17,20 +17,3 @@ tabs: template: project info: "{{ page.catchphrase }}" create: project - - # SEO - seo: - label: SEO - icon: search - sections: - meta: - type: fields - fields: - meta_title: - label: Meta Title - type: text - meta_description: - label: Meta Description - type: textarea - size: small - maxlength: 160 diff --git a/site/blueprints/pages/project.yml b/site/blueprints/pages/project.yml index 13ee888..e6147a7 100644 --- a/site/blueprints/pages/project.yml +++ b/site/blueprints/pages/project.yml @@ -23,12 +23,12 @@ columns: fields: catchphrase: label: Phrase d'accroche - type: text + type: writer + nodes: false help: "Ex: Transformez votre lecture en aventure." description: label: Description - type: textarea - size: medium + type: writer help: Description complète du projet images: From 6e27c1c53bd360c9ef6121e08143a63a396ce2cc Mon Sep 17 00:00:00 2001 From: antonin gallon Date: Wed, 14 Jan 2026 16:25:06 +0100 Subject: [PATCH 3/3] =?UTF-8?q?ajout=20de=20la=20possibilit=C3=A9=20de=20c?= =?UTF-8?q?hanger=20les=20syle=20de=20texte=20en=20pixel=20et=20vert.=20?= =?UTF-8?q?=C3=A0=20vir=20si=20=C3=A7a=20fonctionne=20dans=20le=20front?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- site/blueprints/pages/default.yml | 7 +++++ site/blueprints/pages/expertise.yml | 7 +++++ site/blueprints/pages/game.yml | 7 +++++ site/blueprints/pages/project.yml | 14 ++++++++++ site/plugins/custom-marks/assets/front.css | 24 ++++++++++++++++ site/plugins/custom-marks/index.css | 18 ++++++++++++ site/plugins/custom-marks/index.js | 32 ++++++++++++++++++++++ site/plugins/custom-marks/index.php | 3 ++ 8 files changed, 112 insertions(+) create mode 100644 site/plugins/custom-marks/assets/front.css create mode 100644 site/plugins/custom-marks/index.css create mode 100644 site/plugins/custom-marks/index.js create mode 100644 site/plugins/custom-marks/index.php diff --git a/site/blueprints/pages/default.yml b/site/blueprints/pages/default.yml index 8a36a7a..eaf29ff 100644 --- a/site/blueprints/pages/default.yml +++ b/site/blueprints/pages/default.yml @@ -9,6 +9,13 @@ columns: fields: text: type: writer + marks: + - bold + - italic + - underline + - strike + - green + - pixel sidebar: width: 1/3 sections: diff --git a/site/blueprints/pages/expertise.yml b/site/blueprints/pages/expertise.yml index 5e787f9..a81dbcd 100644 --- a/site/blueprints/pages/expertise.yml +++ b/site/blueprints/pages/expertise.yml @@ -15,6 +15,13 @@ tabs: label: Titre type: writer nodes: false + marks: + - bold + - italic + - underline + - strike + - green + - pixel required: true help: "Ex: PLAY THE REAL." textes: diff --git a/site/blueprints/pages/game.yml b/site/blueprints/pages/game.yml index 204b53b..7de0dbb 100644 --- a/site/blueprints/pages/game.yml +++ b/site/blueprints/pages/game.yml @@ -23,6 +23,13 @@ columns: description: label: Description type: writer + marks: + - bold + - italic + - underline + - strike + - green + - pixel # Sidebar - width: 1/3 diff --git a/site/blueprints/pages/project.yml b/site/blueprints/pages/project.yml index e6147a7..552c635 100644 --- a/site/blueprints/pages/project.yml +++ b/site/blueprints/pages/project.yml @@ -25,10 +25,24 @@ columns: label: Phrase d'accroche type: writer nodes: false + marks: + - bold + - italic + - underline + - strike + - green + - pixel help: "Ex: Transformez votre lecture en aventure." description: label: Description type: writer + marks: + - bold + - italic + - underline + - strike + - green + - pixel help: Description complète du projet images: diff --git a/site/plugins/custom-marks/assets/front.css b/site/plugins/custom-marks/assets/front.css new file mode 100644 index 0000000..458071f --- /dev/null +++ b/site/plugins/custom-marks/assets/front.css @@ -0,0 +1,24 @@ +/* + * Styles pour les marks personnalisés - Front-end + * À inclure dans ton CSS principal ou à importer + */ + +/* Mark Green - Couleur verte */ +.green { + color: #04fea0; +} + +/* Mark Pixel - Typo serif (remplacer par ta typo pixel) */ +.pixel { + font-family: Georgia, "Times New Roman", serif; + /* Remplace par ta font pixel, ex: + font-family: "Press Start 2P", cursive; + */ +} + +/* Combinaison des deux marks */ +.green.pixel, +.pixel.green { + color: #04fea0; + font-family: Georgia, "Times New Roman", serif; +} diff --git a/site/plugins/custom-marks/index.css b/site/plugins/custom-marks/index.css new file mode 100644 index 0000000..4a8cda9 --- /dev/null +++ b/site/plugins/custom-marks/index.css @@ -0,0 +1,18 @@ +/* Styles pour les marks personnalisés dans le panel Kirby */ + +/* Mark Green - Couleur verte */ +.k-writer span.green { + color: #04fea0; +} + +/* Mark Pixel - Typo serif (placeholder pour future typo pixel) */ +.k-writer span.pixel { + font-family: Georgia, "Times New Roman", serif; +} + +/* Combinaison des deux marks */ +.k-writer span.green.pixel, +.k-writer span.pixel.green { + color: #04fea0; + font-family: Georgia, "Times New Roman", serif; +} diff --git a/site/plugins/custom-marks/index.js b/site/plugins/custom-marks/index.js new file mode 100644 index 0000000..63e7467 --- /dev/null +++ b/site/plugins/custom-marks/index.js @@ -0,0 +1,32 @@ +panel.plugin("custom/marks", { + writerMarks: { + green: { + button: { + icon: "brush", + label: "Vert" + }, + commands() { + return () => this.toggle(); + }, + name: "green", + schema: { + parseDOM: [{ tag: "span.green" }], + toDOM: () => ["span", { class: "green" }, 0] + } + }, + pixel: { + button: { + icon: "grid-full", + label: "Pixel" + }, + commands() { + return () => this.toggle(); + }, + name: "pixel", + schema: { + parseDOM: [{ tag: "span.pixel" }], + toDOM: () => ["span", { class: "pixel" }, 0] + } + } + } +}); diff --git a/site/plugins/custom-marks/index.php b/site/plugins/custom-marks/index.php new file mode 100644 index 0000000..9e913ab --- /dev/null +++ b/site/plugins/custom-marks/index.php @@ -0,0 +1,3 @@ +