This commit is contained in:
2025-09-05 22:28:26 +02:00
parent da93f0086a
commit 1b67756a94
5 changed files with 60 additions and 7 deletions

View File

@@ -24,7 +24,7 @@ class UserPanelProvider extends PanelProvider
{
return $panel
->id('user')
->path('') // Serve at root
->path('lobby') // Serve at root
->login()
->colors([
'primary' => Color::Purple, // Purple for user panel
@@ -33,7 +33,7 @@ class UserPanelProvider extends PanelProvider
->discoverResources(in: app_path('Filament/User/Resources'), for: 'App\\Filament\\User\\Resources')
->discoverPages(in: app_path('Filament/User/Pages'), for: 'App\\Filament\\User\\Pages')
->pages([
Pages\Dashboard::class, // Lobby as dashboard
\App\Filament\User\Pages\Lobby::class, // Lobby as dashboard
])
->discoverWidgets(in: app_path('Filament/User/Widgets'), for: 'App\\Filament\\User\\Widgets')
->widgets([