header style
This commit is contained in:
parent
f04e9a66fb
commit
0fed6cfd12
30 changed files with 125 additions and 694 deletions
|
|
@ -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' => [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue