panel : menu latéral + blueprint about/infos + template infos

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
isUnknown 2026-06-24 09:49:41 +02:00
parent 1a87b30e48
commit c3584a9377
6 changed files with 38 additions and 1 deletions

View file

@ -1,4 +1,14 @@
title: À propos title: À propos
image:
back: black
color: white
icon: megaphone
options:
move: false
duplicate: false
delete: false
changeStatus: false
changeSlug: false
tabs: tabs:
content: content:

View file

@ -0,0 +1,11 @@
title: Infos
image:
back: black
color: white
icon: email
options:
move: false
duplicate: false
delete: false
changeStatus: false
changeSlug: false

View file

@ -24,4 +24,4 @@ tabs:
label: Pages infos label: Pages infos
type: pages type: pages
create: false create: false
query: site.find('compagnie', 'infos') query: site.find('a-propos', 'infos')

View file

@ -4,6 +4,9 @@ return [
'debug' => true, 'debug' => true,
'locale' => 'fr_FR.UTF-8', 'locale' => 'fr_FR.UTF-8',
'date.handler' => 'intl', 'date.handler' => 'intl',
'panel' => [
'menu' => require_once __DIR__ . '/menu.php',
],
'thumbs' => [ 'thumbs' => [
'quality' => 80, 'quality' => 80,
'srcsets' => array_merge( 'srcsets' => array_merge(

13
site/config/menu.php Normal file
View file

@ -0,0 +1,13 @@
<?php
return [
'site' => [
'icon' => 'star',
'label' => 'Tableau de bord',
],
'spectacles' => [
'icon' => 'calendar',
'label' => 'Spectacles',
'link' => 'pages/spectacles',
],
];

0
site/templates/infos.php Normal file
View file