default() ->darkMode(true) ->id('admin') ->path('admin') ->login() ->sidebarWidth('14.5rem') // ->brandLogo(fn () => view('filament.admin.logo')) ->brandLogo(asset('images/phyre-logo.svg')) ->brandLogoHeight('2.4rem') ->colors([ Color::Yellow, ]) // ->colors([ // 'primary' => [ // 50 => '249, 206, 38', // 100 => '249, 206, 38', // 200 => '249, 206, 38', // 300 => '249, 206, 38', // 400 => '249, 206, 38', // 500 => '249, 206, 38', // 600 => '249, 206, 38', // 700 => '249, 206, 38', // 800 => '249, 206, 38', // 900 => '249, 206, 38', // 950 => '249, 206, 38', // ], // ]) ->navigationGroups([ 'Hosting Services' => NavigationGroup::make()->label('Hosting Services'), 'Server Management' => NavigationGroup::make()->label('Server Management'), ]) ->discoverResources(in: app_path('Filament/Resources'), for: 'App\\Filament\\Resources') ->discoverPages(in: app_path('Filament/Pages'), for: 'App\\Filament\\Pages') ->discoverClusters(in: module_path('Microweber', 'Filament/Clusters'), for: 'Modules\\Microweber\\Filament\\Clusters') ->pages([ Pages\Dashboard::class, ]) ->plugins([ // FilamentAuthenticationLogPlugin::make(), FilamentApexChartsPlugin::make(), FilamentSettingsPlugin::make()->pages([ Settings::class, ]), ]) // ->discoverWidgets(in: app_path('Filament/Widgets'), for: 'App\\Filament\\Widgets') ->widgets([ ServerDiskUsageStatistic::class, ServerMemoryStatistic::class, // ServerMemoryStatisticCount::class, CustomersCount::class, Websites::class, // Widgets\AccountWidget::class, // Widgets\FilamentInfoWidget::class, ]) ->middleware([ EncryptCookies::class, AddQueuedCookiesToResponse::class, StartSession::class, AuthenticateSession::class, ShareErrorsFromSession::class, VerifyCsrfToken::class, SubstituteBindings::class, DisableBladeIconComponents::class, DispatchServingFilamentEvent::class, ]) ->authMiddleware([ Authenticate::class, ]); } }