support : integrate shop

This commit is contained in:
isUnknown 2025-11-04 09:05:55 +01:00
parent ba0df6b5cb
commit 1637b26f58
6 changed files with 68 additions and 46 deletions

22
site/config/menu.php Normal file
View file

@ -0,0 +1,22 @@
<?php
return [
'home' => [
'label' => 'Soutien',
'icon' => 'home',
'link' => 'pages/support',
'current' => function ($current) {
$path = Kirby::instance()->request()->path()->toString();
return Str::contains($path, 'pages/support');
},
],
'shop' => [
'label' => 'Boutique',
'icon' => 'cart',
'link' => 'pages/boutique',
'current' => function ($current) {
$path = Kirby::instance()->request()->path()->toString();
return Str::contains($path, 'pages/boutique');
},
],
];