mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-21 10:51:36 +00:00
33 lines
862 B
PHP
33 lines
862 B
PHP
<?php
|
|
|
|
namespace App\Web\Pages\Settings\Profile;
|
|
|
|
use App\Web\Components\Page;
|
|
use App\Web\Pages\Settings\Profile\Widgets\BrowserSession;
|
|
use App\Web\Pages\Settings\Profile\Widgets\ProfileInformation;
|
|
use App\Web\Pages\Settings\Profile\Widgets\TwoFactor;
|
|
use App\Web\Pages\Settings\Profile\Widgets\UpdatePassword;
|
|
|
|
class Index extends Page
|
|
{
|
|
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],
|
|
[BrowserSession::class],
|
|
[TwoFactor::class],
|
|
];
|
|
}
|
|
}
|