@php $customer = auth('web')->user(); $supportUnread = $customer->unreadSupportCount(); $items = [ ['route' => 'account.index', 'label' => __('account.dashboard'), 'icon' => 'grid', 'active' => request()->routeIs('account.index')], ['route' => 'account.orders', 'label' => __('account.orders'), 'icon' => 'box', 'active' => request()->routeIs('account.orders*')], ['route' => 'account.notifications', 'label' => __('account.notifications'), 'icon' => 'bell', 'active' => request()->routeIs('account.notifications')], ['route' => 'account.support', 'label' => __('account.support'), 'icon' => 'chat', 'active' => request()->routeIs('account.support')], ['route' => 'account.profile', 'label' => __('account.profile'), 'icon' => 'user', 'active' => request()->routeIs('account.profile')], ]; @endphp