resolve conflict
This commit is contained in:
parent
fa34aed357
commit
d4fe38e65a
16 changed files with 92 additions and 19 deletions
|
|
@ -37,6 +37,7 @@ return [
|
|||
return Str::contains($path, 'pages/projects');
|
||||
}
|
||||
],
|
||||
'-',
|
||||
'inspirations' => [
|
||||
'label' => 'Inspirations',
|
||||
'icon' => 'images',
|
||||
|
|
@ -46,6 +47,24 @@ return [
|
|||
return Str::contains($path, 'pages/inspirations');
|
||||
}
|
||||
],
|
||||
'materials' => [
|
||||
'label' => 'Matériauthèque',
|
||||
'icon' => 'images',
|
||||
'link' => 'pages/materials',
|
||||
'current' => function (string $current): bool {
|
||||
$path = Kirby\Cms\App::instance()->path();
|
||||
return Str::contains($path, 'pages/materials');
|
||||
}
|
||||
],
|
||||
'creations' => [
|
||||
'label' => 'Réalisations',
|
||||
'icon' => 'images',
|
||||
'link' => 'pages/creations',
|
||||
'current' => function (string $current): bool {
|
||||
$path = Kirby\Cms\App::instance()->path();
|
||||
return Str::contains($path, 'pages/creations');
|
||||
}
|
||||
],
|
||||
'-',
|
||||
'notifications' => [
|
||||
'label' => 'Notifications',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue