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