redesign blueprint

This commit is contained in:
isUnknown 2024-01-26 13:42:00 +01:00
parent 61c1067f22
commit 55684b6079
12 changed files with 82 additions and 49 deletions

View file

@ -1,5 +1,28 @@
<?php
return [
'debug' => true
'debug' => true,
'panel' => [
'menu' => [
'site' => [
'label' => 'Accueil',
'current' => function ($current) {
$path = Kirby::instance()->request()->path()->toString();
return Str::contains($path, 'site');
}
],
'articles' => [
'icon' => 'folder',
'label' => 'Articles',
'link' => 'pages/articles',
'current' => function ($current) {
$path = Kirby::instance()->request()->path()->toString();
return Str::contains($path, 'pages/articles');
}
],
'-',
'users',
'system'
]
]
];