This commit is contained in:
Daniela 2024-05-19 23:09:24 +03:00
parent c7ff1ae87c
commit 9c91d57aba
2 changed files with 21 additions and 6 deletions

View file

@ -24,16 +24,16 @@ class CustomerDashboard extends Page
'email'=>[
'title'=>'Email',
'icon'=>'heroicon-o-start',
'icon'=>'heroicon-o-star',
'menu'=>[
[
'title'=>'Email Accounts',
'icon'=>'heroicon-o-start',
'icon'=>'heroicon-o-star',
'link'=>'#'
],
[
'title'=>'Forwarders',
'icon'=>'heroicon-o-start',
'icon'=>'heroicon-o-star',
'link'=>'#'
]
]
@ -41,16 +41,16 @@ class CustomerDashboard extends Page
'billing_and_support'=>[
'title'=>'Billing & Support',
'icon'=>'heroicon-o-start',
'icon'=>'heroicon-o-star',
'menu'=>[
[
'title'=>'News & Announcemnets',
'icon'=>'heroicon-o-start',
'icon'=>'heroicon-o-star',
'link'=>'#'
],
[
'title'=>'Manage Biling Information',
'icon'=>'heroicon-o-start',
'icon'=>'heroicon-o-star',
'link'=>'#'
]
]

View file

@ -9,8 +9,23 @@
<div>
<div>
<x-filament::icon-button size="xl" icon="{{$menuItem['icon']}}" />
{{$menuItem['title']}}
</div>
<div>
@foreach($menuItem['menu'] as $menuItemLink)
<div>
<a href="{{$menuItemLink['link']}}">
<x-filament::icon-button size="xl" icon="{{$menuItemLink['icon']}}" />
{{$menuItemLink['title']}}
</a>
</div>
@endforeach
</div>
</div>
@endforeach