mise en place du début du back
This commit is contained in:
parent
5210d78d7d
commit
c1c4fda329
22 changed files with 1595 additions and 4 deletions
69
site/config/config.php
Normal file
69
site/config/config.php
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
// Debug mode (désactiver en production)
|
||||
'debug' => true,
|
||||
|
||||
// Panel configuration
|
||||
'panel' => [
|
||||
// Menu personnalisé du panel
|
||||
'menu' => [
|
||||
'site' => [
|
||||
'label' => 'Site',
|
||||
'icon' => 'home',
|
||||
'current' => function (string $current): bool {
|
||||
return $current === 'site';
|
||||
}
|
||||
],
|
||||
'-', // Séparateur
|
||||
'home' => [
|
||||
'label' => 'Accueil',
|
||||
'icon' => 'home',
|
||||
'link' => 'pages/home',
|
||||
],
|
||||
'expertise' => [
|
||||
'label' => 'Expertise',
|
||||
'icon' => 'wand',
|
||||
'link' => 'pages/expertise',
|
||||
],
|
||||
'portfolio' => [
|
||||
'label' => 'Portfolio',
|
||||
'icon' => 'images',
|
||||
'link' => 'pages/portfolio',
|
||||
],
|
||||
'jouer' => [
|
||||
'label' => 'Jouer',
|
||||
'icon' => 'play',
|
||||
'link' => 'pages/jouer',
|
||||
],
|
||||
'a-propos' => [
|
||||
'label' => 'À propos',
|
||||
'icon' => 'users',
|
||||
'link' => 'pages/a-propos',
|
||||
],
|
||||
'blog' => [
|
||||
'label' => 'Blog',
|
||||
'icon' => 'text',
|
||||
'link' => 'pages/blog',
|
||||
],
|
||||
'-', // Séparateur
|
||||
'users',
|
||||
'system'
|
||||
]
|
||||
],
|
||||
|
||||
// Langues
|
||||
'languages' => false, // Mettre true si multilingue activé
|
||||
|
||||
// Thumbs
|
||||
'thumbs' => [
|
||||
'srcsets' => [
|
||||
'default' => [
|
||||
'300w' => ['width' => 300],
|
||||
'600w' => ['width' => 600],
|
||||
'900w' => ['width' => 900],
|
||||
'1200w' => ['width' => 1200]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
Loading…
Add table
Add a link
Reference in a new issue