Add touch-ready Filament login and admin update tooling
This commit is contained in:
@@ -32,7 +32,8 @@ class AdminPanelProvider extends PanelProvider
|
||||
->default()
|
||||
->id('admin')
|
||||
->path('admin')
|
||||
->login()
|
||||
->viteTheme('resources/css/filament/admin/theme.css')
|
||||
->login(\App\Filament\Pages\Auth\Login::class)
|
||||
->brandLogo(fn () => new HtmlString(
|
||||
'<img src="'.asset('icon.png').'" alt="App Icon" style="height: 2.5rem; display: inline-block; vertical-align: middle; margin-right: 0.5rem;" />'.
|
||||
'<span style="vertical-align: middle; font-weight: bold; font-size: 1.25rem;">'.config('app.name').'</span>'
|
||||
@@ -75,7 +76,7 @@ class AdminPanelProvider extends PanelProvider
|
||||
->plugins([
|
||||
|
||||
])
|
||||
->profile(isSimple: false)
|
||||
->profile(\App\Filament\Pages\Auth\EditProfile::class, isSimple: false)
|
||||
->userMenuItems([
|
||||
MenuItem::make()
|
||||
->label(fn () => 'English')
|
||||
|
||||
Reference in New Issue
Block a user