From ac5c395e1cfa0a8875a848d60b857214cc64d54e Mon Sep 17 00:00:00 2001 From: isUnknown Date: Wed, 11 Feb 2026 15:10:21 +0100 Subject: [PATCH] panel > menu : add impacts --- site/config/menu.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/site/config/menu.php b/site/config/menu.php index 25f80fc..8884722 100644 --- a/site/config/menu.php +++ b/site/config/menu.php @@ -22,6 +22,15 @@ return [ ], '-' , + 'impacts' => [ + 'label' => 'Impacts', + 'icon' => 'book', + 'link' => 'pages/impacts', + 'current' => function (string $current): bool { + $path = Kirby\Cms\App::instance()->path(); + return Str::contains($path, 'pages/impacts'); + } + ], 'dossiers' => [ 'label' => 'Dossiers', 'icon' => 'folder',