Add top navigation config

This commit is contained in:
Lance Pioch 2024-05-15 14:14:31 -04:00
parent 0c72833af7
commit 4bb16887c4
2 changed files with 14 additions and 1 deletions

View File

@ -36,10 +36,11 @@ class AdminPanelProvider extends PanelProvider
->default() ->default()
->id('admin') ->id('admin')
->path('admin') ->path('admin')
->topNavigation(true) ->topNavigation(config('panel.filament.top-navigation', false))
->login() ->login()
->homeUrl('/') ->homeUrl('/')
->favicon('/pelican.ico') ->favicon('/pelican.ico')
->brandName('Pelican')
->profile(EditProfile::class, false) ->profile(EditProfile::class, false)
->colors([ ->colors([
'danger' => Color::Red, 'danger' => Color::Red,

View File

@ -163,4 +163,16 @@ return [
// Should an email be sent to a server owner whenever their server is reinstalled? // Should an email be sent to a server owner whenever their server is reinstalled?
'send_reinstall_notification' => env('PANEL_SEND_REINSTALL_NOTIFICATION', true), 'send_reinstall_notification' => env('PANEL_SEND_REINSTALL_NOTIFICATION', true),
], ],
/*
|--------------------------------------------------------------------------
| FilamentPHP Settings
|--------------------------------------------------------------------------
|
| This section controls Filament configurations
*/
'filament' => [
'top-navigation' => env('FILAMENT_TOP_NAVIGATION', false),
],
]; ];