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

View file

@ -9,8 +9,23 @@
<div> <div>
<div> <div>
<x-filament::icon-button size="xl" icon="{{$menuItem['icon']}}" />
{{$menuItem['title']}} {{$menuItem['title']}}
</div> </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> </div>
@endforeach @endforeach