<?php
namespace App\Providers;
use Filament\Panel;
use Filament\PanelProvider;
use Filament\Support\Colors\Color;
class AdminPanelProvider extends PanelProvider {
 public function panel(Panel $panel):Panel{return $panel->default()->id('admin')->path('management')->brandName('باشگاه مشتریان سایت ساز زرین')->colors(['primary'=>Color::Amber])->font('Vazirmatn',url:asset('assets/font.css'))->pages([\App\Filament\Pages\Operations::class])->middleware([\Illuminate\Cookie\Middleware\EncryptCookies::class,\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,\Illuminate\Session\Middleware\StartSession::class,\Illuminate\View\Middleware\ShareErrorsFromSession::class,\Illuminate\Foundation\Http\Middleware\ValidateCsrfToken::class,\Illuminate\Routing\Middleware\SubstituteBindings::class])->authMiddleware([\App\Http\Middleware\ManagementAccount::class,\App\Http\Middleware\ActiveAccount::class]);}
}
