diff --git a/assets/css/custom-panel.css b/assets/css/custom-panel.css
index 1554ae5..fbfc565 100644
--- a/assets/css/custom-panel.css
+++ b/assets/css/custom-panel.css
@@ -37,9 +37,7 @@
--font-title: 'Terminal Grotesque', sans-serif;
--font-body: 'Danzza', sans-serif;
- /*dé commenter pour ajouter leur font*/
- /*font récuperer via leur site donc je ne sais pas quel est la licence*/
- /* --font-sans: 'Danzza', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; */
+ --font-sans: 'Danzza', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
--text-h1: 3em;
diff --git a/site/blueprints/pages/about.yml b/site/blueprints/pages/about.yml
index b370fe7..6afd27e 100644
--- a/site/blueprints/pages/about.yml
+++ b/site/blueprints/pages/about.yml
@@ -40,7 +40,8 @@ tabs:
template: member
translate: false
image:
- ratio: 2/3
+ ratio: 3/5
cover: true
+ back: '#0e1e43'
text: "{{ file.member_name }}"
info: "{{ file.role }}"
diff --git a/site/blueprints/pages/home.yml b/site/blueprints/pages/home.yml
index f79f60b..2ea6155 100644
--- a/site/blueprints/pages/home.yml
+++ b/site/blueprints/pages/home.yml
@@ -12,10 +12,6 @@ tabs:
hero_content:
type: fields
fields:
- title:
- label: Titre principal
- type: text
- required: true
subtitle:
label: Sous-titre
type: writer
@@ -24,11 +20,13 @@ tabs:
cta_text:
width: 1/2
label: Texte du bouton CTA
+ help: CTA pour call to action
type: text
default: Explorer
cta_link:
width: 1/2
label: Lien du bouton CTA
+ help: CTA pour call to action
type: pages
max: 1
- width: 1/3
diff --git a/site/blueprints/site.yml b/site/blueprints/site.yml
index 8511041..7d5a376 100644
--- a/site/blueprints/site.yml
+++ b/site/blueprints/site.yml
@@ -5,7 +5,8 @@ columns:
sections:
pages:
type: pages
- label: Réorganisation des pages
+ label: Menu
+ help: Accédez aux pages et réordonnez-les
layout: list
size: small
sortable: true
diff --git a/site/cache/index.html b/site/cache/index.html
deleted file mode 100644
index e69de29..0000000
diff --git a/site/config/config.php b/site/config/config.php
index af850da..e285d59 100644
--- a/site/config/config.php
+++ b/site/config/config.php
@@ -10,10 +10,11 @@ return [
// Menu personnalisé du panel
'menu' => [
'site' => [
- 'label' => 'Site',
- 'icon' => 'home',
+ 'label' => 'Données partagées',
+ 'icon' => 'cog',
'current' => function (string $current): bool {
- return $current === 'site';
+ $path = Kirby\Cms\App::instance()->path();
+ return Str::contains($path, '/site');
}
],
'-', // Séparateur
@@ -21,31 +22,55 @@ return [
'label' => 'Accueil',
'icon' => 'home',
'link' => 'pages/home',
+ 'current' => function (string $current): bool {
+ $path = Kirby\Cms\App::instance()->path();
+ return Str::contains($path, 'pages/home');
+ }
],
'expertise' => [
'label' => 'Expertise',
'icon' => 'wand',
'link' => 'pages/expertise',
+ 'current' => function (string $current): bool {
+ $path = Kirby\Cms\App::instance()->path();
+ return Str::contains($path, 'pages/expertise');
+ }
],
'portfolio' => [
'label' => 'Portfolio',
'icon' => 'images',
'link' => 'pages/portfolio',
+ 'current' => function (string $current): bool {
+ $path = Kirby\Cms\App::instance()->path();
+ return Str::contains($path, 'pages/portfolio');
+ }
],
'jouer' => [
'label' => 'Jouer',
'icon' => 'play',
'link' => 'pages/jouer',
+ 'current' => function (string $current): bool {
+ $path = Kirby\Cms\App::instance()->path();
+ return Str::contains($path, 'pages/jouer');
+ }
],
'a-propos' => [
'label' => 'À propos',
'icon' => 'users',
'link' => 'pages/a-propos',
+ 'current' => function (string $current): bool {
+ $path = Kirby\Cms\App::instance()->path();
+ return Str::contains($path, 'pages/a-propos');
+ }
],
'blog' => [
'label' => 'Blog',
'icon' => 'text',
'link' => 'pages/blog',
+ 'current' => function (string $current): bool {
+ $path = Kirby\Cms\App::instance()->path();
+ return Str::contains($path, 'pages/blog');
+ }
],
'-', // Séparateur
'users',
diff --git a/site/plugins/custom-marks/index.js b/site/plugins/custom-marks/index.js
index 164003c..396e525 100644
--- a/site/plugins/custom-marks/index.js
+++ b/site/plugins/custom-marks/index.js
@@ -1,6 +1,6 @@
panel.plugin("custom/marks", {
icons: {
- pixel: ''
+ pixel: ''
},
writerMarks: {
green: {