From c3584a937705e12ef6947730f4d17c9e694b675c Mon Sep 17 00:00:00 2001 From: isUnknown Date: Wed, 24 Jun 2026 09:49:41 +0200 Subject: [PATCH] =?UTF-8?q?panel=20:=20menu=20lat=C3=A9ral=20+=20blueprint?= =?UTF-8?q?=20about/infos=20+=20template=20infos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- site/blueprints/pages/about.yml | 10 ++++++++++ site/blueprints/pages/infos.yml | 11 +++++++++++ site/blueprints/site.yml | 2 +- site/config/config.php | 3 +++ site/config/menu.php | 13 +++++++++++++ site/templates/infos.php | 0 6 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 site/blueprints/pages/infos.yml create mode 100644 site/config/menu.php create mode 100644 site/templates/infos.php diff --git a/site/blueprints/pages/about.yml b/site/blueprints/pages/about.yml index 208ba0d..9f71946 100644 --- a/site/blueprints/pages/about.yml +++ b/site/blueprints/pages/about.yml @@ -1,4 +1,14 @@ title: À propos +image: + back: black + color: white + icon: megaphone +options: + move: false + duplicate: false + delete: false + changeStatus: false + changeSlug: false tabs: content: diff --git a/site/blueprints/pages/infos.yml b/site/blueprints/pages/infos.yml new file mode 100644 index 0000000..175cfdf --- /dev/null +++ b/site/blueprints/pages/infos.yml @@ -0,0 +1,11 @@ +title: Infos +image: + back: black + color: white + icon: email +options: + move: false + duplicate: false + delete: false + changeStatus: false + changeSlug: false diff --git a/site/blueprints/site.yml b/site/blueprints/site.yml index 79ba11b..45015cb 100644 --- a/site/blueprints/site.yml +++ b/site/blueprints/site.yml @@ -24,4 +24,4 @@ tabs: label: Pages infos type: pages create: false - query: site.find('compagnie', 'infos') + query: site.find('a-propos', 'infos') diff --git a/site/config/config.php b/site/config/config.php index 932091a..20ced25 100644 --- a/site/config/config.php +++ b/site/config/config.php @@ -4,6 +4,9 @@ return [ 'debug' => true, 'locale' => 'fr_FR.UTF-8', 'date.handler' => 'intl', + 'panel' => [ + 'menu' => require_once __DIR__ . '/menu.php', + ], 'thumbs' => [ 'quality' => 80, 'srcsets' => array_merge( diff --git a/site/config/menu.php b/site/config/menu.php new file mode 100644 index 0000000..f2846ea --- /dev/null +++ b/site/config/menu.php @@ -0,0 +1,13 @@ + [ + 'icon' => 'star', + 'label' => 'Tableau de bord', + ], + 'spectacles' => [ + 'icon' => 'calendar', + 'label' => 'Spectacles', + 'link' => 'pages/spectacles', + ], +]; diff --git a/site/templates/infos.php b/site/templates/infos.php new file mode 100644 index 0000000..e69de29