resolve conflict

This commit is contained in:
isUnknown 2024-10-08 17:30:56 +02:00
parent fa34aed357
commit d4fe38e65a
16 changed files with 92 additions and 19 deletions

View file

@ -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',