mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-03 15:02:34 +00:00
2.x
This commit is contained in:
33
app/Web/Pages/Settings/Profile/Index.php
Normal file
33
app/Web/Pages/Settings/Profile/Index.php
Normal file
@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace App\Web\Pages\Settings\Profile;
|
||||
|
||||
use App\Web\Pages\Settings\Profile\Widgets\ProfileInformation;
|
||||
use App\Web\Pages\Settings\Profile\Widgets\TwoFactor;
|
||||
use App\Web\Pages\Settings\Profile\Widgets\UpdatePassword;
|
||||
use App\Web\Traits\PageHasWidgets;
|
||||
use Filament\Pages\Page;
|
||||
|
||||
class Index extends Page
|
||||
{
|
||||
use PageHasWidgets;
|
||||
|
||||
protected static ?string $navigationGroup = 'Settings';
|
||||
|
||||
protected static ?string $slug = 'settings/profile';
|
||||
|
||||
protected static ?string $title = 'Profile';
|
||||
|
||||
protected static ?string $navigationIcon = 'heroicon-o-user-circle';
|
||||
|
||||
protected static ?int $navigationSort = 2;
|
||||
|
||||
public function getWidgets(): array
|
||||
{
|
||||
return [
|
||||
[ProfileInformation::class],
|
||||
[UpdatePassword::class],
|
||||
[TwoFactor::class],
|
||||
];
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user