Expand Profile menu sidebar link to surface new "Branding" page more clearly.

This commit is contained in:
Buster Neece 2023-01-25 20:01:34 -06:00
parent fdb01fadca
commit e19072294c
No known key found for this signature in database
GPG Key ID: F1D2E64A0005E80E
1 changed files with 17 additions and 1 deletions

View File

@ -53,7 +53,23 @@ return static function (App\Event\BuildStationMenu $e) {
'profile' => [
'label' => __('Profile'),
'icon' => 'image',
'url' => $router->fromHere('stations:profile:index'),
'items' => [
[
'label' => __('View Profile'),
'url' => $router->fromHere('stations:profile:index'),
],
[
'label' => __('Edit Profile'),
'url' => $router->fromHere('stations:profile:edit'),
'permission' => StationPermissions::Profile,
],
[
'label' => __('Branding'),
'class' => 'text-muted',
'url' => $router->fromhere('stations:branding'),
'permission' => StationPermissions::Profile,
],
],
],
'public' => [
'label' => __('Public Page'),