Skip to content

Commit

Permalink
Collapsible sidebar nav (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjustesen authored Nov 26, 2022
1 parent 9de2ed5 commit 4390cf9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions app/Providers/FilamentServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,17 @@ public function boot()
Filament::registerNavigationItems([
NavigationItem::make('Documentation')
->url('https://docs.speedtest-tracker.dev/', shouldOpenInNewTab: true)
->icon('heroicon-o-external-link')
->icon('heroicon-o-book-open')
->group('Links')
->sort(0),
NavigationItem::make('Donate')
->url('https://github.com/sponsors/alexjustesen', shouldOpenInNewTab: true)
->icon('heroicon-o-external-link')
->icon('heroicon-o-cash')
->group('Links')
->sort(1),
NavigationItem::make('Source Code')
->url('https://github.com/alexjustesen/speedtest-tracker', shouldOpenInNewTab: true)
->icon('heroicon-o-external-link')
->icon('heroicon-o-code')
->group('Links')
->sort(2),
]);
Expand Down
2 changes: 1 addition & 1 deletion config/filament.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@
'alignment' => 'right',
],
'sidebar' => [
'is_collapsible_on_desktop' => false,
'is_collapsible_on_desktop' => true,
'groups' => [
'are_collapsible' => true,
],
Expand Down

0 comments on commit 4390cf9

Please sign in to comment.