Update AdminPanelProvider.php
This commit is contained in:
parent
0fe16debb8
commit
6534ac1864
1 changed files with 7 additions and 0 deletions
|
@ -6,6 +6,7 @@ use App\Filament\Pages\Settings\Settings;
|
|||
use Filament\Http\Middleware\Authenticate;
|
||||
use Filament\Http\Middleware\DisableBladeIconComponents;
|
||||
use Filament\Http\Middleware\DispatchServingFilamentEvent;
|
||||
use Filament\Navigation\NavigationGroup;
|
||||
use Filament\Pages;
|
||||
use Filament\Panel;
|
||||
use Filament\PanelProvider;
|
||||
|
@ -33,6 +34,12 @@ class AdminPanelProvider extends PanelProvider
|
|||
->colors([
|
||||
'primary' => Color::Amber,
|
||||
])
|
||||
->navigationGroups([
|
||||
'Websites' => NavigationGroup::make()->label('Websites'),
|
||||
'Hosting' => NavigationGroup::make()->label('Hosting'),
|
||||
'Modules' => NavigationGroup::make()->label('Modules'),
|
||||
'System' => NavigationGroup::make()->label('System'),
|
||||
])
|
||||
->discoverResources(in: app_path('Filament/Resources'), for: 'App\\Filament\\Resources')
|
||||
->discoverPages(in: app_path('Filament/Pages'), for: 'App\\Filament\\Pages')
|
||||
->pages([
|
||||
|
|
Loading…
Reference in a new issue