panel : menu latéral + blueprint about/infos + template infos
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
1a87b30e48
commit
c3584a9377
6 changed files with 38 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
11
site/blueprints/pages/infos.yml
Normal file
11
site/blueprints/pages/infos.yml
Normal 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
|
||||
|
|
@ -24,4 +24,4 @@ tabs:
|
|||
label: Pages infos
|
||||
type: pages
|
||||
create: false
|
||||
query: site.find('compagnie', 'infos')
|
||||
query: site.find('a-propos', 'infos')
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
13
site/config/menu.php
Normal file
13
site/config/menu.php
Normal 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
0
site/templates/infos.php
Normal file
Loading…
Add table
Add a link
Reference in a new issue