header style

This commit is contained in:
isUnknown 2024-03-12 17:12:03 +01:00
parent f04e9a66fb
commit 0fed6cfd12
30 changed files with 125 additions and 694 deletions

View file

@ -23,6 +23,7 @@ return [
}
],
'-',
'-',
'infos' => [
'icon' => 'question',
'label' => 'À propos',
@ -34,7 +35,7 @@ return [
],
'newsletter' => [
'icon' => 'email',
'label' => 'Lettre',
'label' => 'Infolettre',
'link' => 'pages/lettre',
'current' => function ($current) {
$path = Kirby::instance()->request()->path()->toString();
@ -42,9 +43,21 @@ return [
}
],
'-',
'-',
'users',
'comments',
'system'
'admin' => [
'icon' => 'folder',
'label' => 'Administration',
'link' => 'pages/admin',
'current' => function ($current) {
$path = Kirby::instance()->request()->path()->toString();
return Str::contains($path, 'pages/admin');
}
],
'-',
'-',
'system',
]
],
'routes' => [