translate base
This commit is contained in:
@@ -5,6 +5,7 @@ declare(strict_types=1);
|
||||
namespace App\Providers\Filament;
|
||||
|
||||
use BezhanSalleh\FilamentShield\FilamentShieldPlugin;
|
||||
use App\Enums\NavigationGroup;
|
||||
use App\Filament\Pages\Dashboard;
|
||||
use Filament\Http\Middleware\Authenticate;
|
||||
use Filament\Http\Middleware\AuthenticateSession;
|
||||
@@ -28,19 +29,15 @@ class AdminPanelProvider extends PanelProvider
|
||||
->default()
|
||||
->id('admin')
|
||||
->path('admin')
|
||||
->viteTheme('resources/css/filament/admin/theme.css')
|
||||
->login()
|
||||
->brandName(config('hr.company_name'))
|
||||
->viteTheme('resources/css/filament/admin/theme.css')
|
||||
->colors([
|
||||
'primary' => Color::Blue,
|
||||
'gray' => Color::Slate,
|
||||
])
|
||||
->navigationGroups([
|
||||
'Organization',
|
||||
'Employees',
|
||||
'Leave Management',
|
||||
'Records',
|
||||
'System',
|
||||
])
|
||||
->navigationGroups(NavigationGroup::class)
|
||||
->discoverResources(in: app_path('Filament/Resources'), for: 'App\Filament\Resources')
|
||||
->discoverPages(in: app_path('Filament/Pages'), for: 'App\Filament\Pages')
|
||||
->pages([
|
||||
@@ -50,7 +47,7 @@ class AdminPanelProvider extends PanelProvider
|
||||
->widgets([])
|
||||
->plugins([
|
||||
FilamentShieldPlugin::make()
|
||||
->navigationGroup('System'),
|
||||
->navigationGroup(NavigationGroup::System),
|
||||
])
|
||||
->middleware([
|
||||
EncryptCookies::class,
|
||||
|
||||
Reference in New Issue
Block a user