Change the manu order of pages
This commit is contained in:
@@ -9,4 +9,6 @@ class AboutUs extends Page
|
||||
protected static ?string $navigationIcon = 'heroicon-o-information-circle';
|
||||
|
||||
protected static string $view = 'filament.user.pages.about-us';
|
||||
|
||||
protected static ?int $navigationSort = 6; // Bottom
|
||||
}
|
||||
@@ -9,4 +9,6 @@ class Deposits extends Page
|
||||
protected static ?string $navigationIcon = 'heroicon-o-currency-dollar';
|
||||
|
||||
protected static string $view = 'filament.user.pages.deposits';
|
||||
|
||||
protected static ?int $navigationSort = 2;
|
||||
}
|
||||
@@ -2,11 +2,13 @@
|
||||
|
||||
namespace App\Filament\User\Pages;
|
||||
|
||||
use Filament\Pages\Page;
|
||||
use Filament\Pages\Dashboard;
|
||||
|
||||
class Lobby extends Page
|
||||
class Lobby extends Dashboard
|
||||
{
|
||||
protected static ?string $navigationIcon = 'heroicon-o-document-text';
|
||||
protected static ?string $navigationIcon = 'heroicon-o-home';
|
||||
|
||||
protected static string $view = 'filament.user.pages.lobby';
|
||||
|
||||
protected static ?int $navigationSort = 1; // Top
|
||||
}
|
||||
@@ -9,4 +9,6 @@ class Profile extends Page
|
||||
protected static ?string $navigationIcon = 'heroicon-o-user-circle';
|
||||
|
||||
protected static string $view = 'filament.user.pages.profile';
|
||||
|
||||
protected static ?int $navigationSort = 4;
|
||||
}
|
||||
@@ -9,4 +9,6 @@ class Transactions extends Page
|
||||
protected static ?string $navigationIcon = 'heroicon-o-document-text';
|
||||
|
||||
protected static string $view = 'filament.user.pages.transactions';
|
||||
|
||||
protected static ?int $navigationSort = 3;
|
||||
}
|
||||
@@ -9,4 +9,6 @@ class VIP extends Page
|
||||
protected static ?string $navigationIcon = 'heroicon-o-star';
|
||||
|
||||
protected static string $view = 'filament.user.pages.v-i-p';
|
||||
|
||||
protected static ?int $navigationSort = 5;
|
||||
}
|
||||
Reference in New Issue
Block a user