correction panel en vrac : Changer site en donnée partager, Changer picto donnée partager, corrigé réorganisation des pages en menu, fon des membre de l'équipe pour effet de débordement, Ajouter help cta
This commit is contained in:
parent
a66d399cfb
commit
51b86ff655
7 changed files with 36 additions and 13 deletions
|
|
@ -10,10 +10,11 @@ return [
|
|||
// Menu personnalisé du panel
|
||||
'menu' => [
|
||||
'site' => [
|
||||
'label' => 'Site',
|
||||
'icon' => 'home',
|
||||
'label' => 'Données partagées',
|
||||
'icon' => 'cog',
|
||||
'current' => function (string $current): bool {
|
||||
return $current === 'site';
|
||||
$path = Kirby\Cms\App::instance()->path();
|
||||
return Str::contains($path, '/site');
|
||||
}
|
||||
],
|
||||
'-', // Séparateur
|
||||
|
|
@ -21,31 +22,55 @@ return [
|
|||
'label' => 'Accueil',
|
||||
'icon' => 'home',
|
||||
'link' => 'pages/home',
|
||||
'current' => function (string $current): bool {
|
||||
$path = Kirby\Cms\App::instance()->path();
|
||||
return Str::contains($path, 'pages/home');
|
||||
}
|
||||
],
|
||||
'expertise' => [
|
||||
'label' => 'Expertise',
|
||||
'icon' => 'wand',
|
||||
'link' => 'pages/expertise',
|
||||
'current' => function (string $current): bool {
|
||||
$path = Kirby\Cms\App::instance()->path();
|
||||
return Str::contains($path, 'pages/expertise');
|
||||
}
|
||||
],
|
||||
'portfolio' => [
|
||||
'label' => 'Portfolio',
|
||||
'icon' => 'images',
|
||||
'link' => 'pages/portfolio',
|
||||
'current' => function (string $current): bool {
|
||||
$path = Kirby\Cms\App::instance()->path();
|
||||
return Str::contains($path, 'pages/portfolio');
|
||||
}
|
||||
],
|
||||
'jouer' => [
|
||||
'label' => 'Jouer',
|
||||
'icon' => 'play',
|
||||
'link' => 'pages/jouer',
|
||||
'current' => function (string $current): bool {
|
||||
$path = Kirby\Cms\App::instance()->path();
|
||||
return Str::contains($path, 'pages/jouer');
|
||||
}
|
||||
],
|
||||
'a-propos' => [
|
||||
'label' => 'À propos',
|
||||
'icon' => 'users',
|
||||
'link' => 'pages/a-propos',
|
||||
'current' => function (string $current): bool {
|
||||
$path = Kirby\Cms\App::instance()->path();
|
||||
return Str::contains($path, 'pages/a-propos');
|
||||
}
|
||||
],
|
||||
'blog' => [
|
||||
'label' => 'Blog',
|
||||
'icon' => 'text',
|
||||
'link' => 'pages/blog',
|
||||
'current' => function (string $current): bool {
|
||||
$path = Kirby\Cms\App::instance()->path();
|
||||
return Str::contains($path, 'pages/blog');
|
||||
}
|
||||
],
|
||||
'-', // Séparateur
|
||||
'users',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue