@php
$navItems = [
[
'label' => 'Overview',
'route' => 'dashboard',
'icon' => 'fas fa-columns',
'active' => 'dashboard',
],
[
'label' => 'Bookings',
'route' => 'bookings.index',
'icon' => 'fas fa-handshake',
'active' => 'meetings*',
],
[
'label' => 'Services Management',
'route' => 'events.index',
'icon' => 'fas fa-calendar-alt',
'active' => 'events*',
],
[
'label' => 'Categories',
'route' => 'categories.index',
'icon' => 'fas fa-list',
'active' => 'categories*',
],
[
'label' => 'Specialties',
'route' => 'specialties.index',
'icon' => 'fas fa-table-list',
'active' => 'specialties*',
],
[
'label' => 'Availability',
'route' => 'availability.edit',
'icon' => 'fas fa-clock',
'active' => 'availability*',
],
[
'label' => 'Contacts',
'route' => 'contacts.index',
'icon' => 'fas fa-address-book',
'active' => 'contacts*',
],
[
'label' => 'Company',
'route' => 'company.settings',
'icon' => 'fas fa-building',
'active' => 'company*',
],
[
'label' => 'Notification Settings',
'route' => 'company.notification-settings',
'icon' => 'fas fa-cog',
'active' => 'notifications*',
],
// [
// 'label' => 'Groups',
// 'route' => 'groups.index',
// 'icon' => 'fas fa-user-group',
// 'active' => 'groups*',
// ],
[
'label' => 'Users',
'route' => 'users.index',
'icon' => 'fas fa-users',
'active' => 'users*',
],
// [
// 'label' => 'Sharable Links',
// 'route' => 'links.index',
// 'icon' => 'fas fa-link',
// 'active' => 'links*',
// ],
[
'label' => 'Notifications',
'route' => 'notifications.index',
'icon' => 'fas fa-bell',
'active' => 'notifications*',
'badge' => true, // Indicates we want to show a badge
],
[
'label' => 'Profile',
'route' => 'profile.show',
'icon' => 'fas fa-user-cog',
'active' => 'profile',
],
// Conditional items based on permissions
[
'label' => 'User Management',
'route' => 'users.index',
'icon' => 'fas fa-user-friends',
'active' => 'users*',
'permission' => 'manage-users',
],
[
'label' => 'Company Settings',
'route' => 'company.settings',
'icon' => 'fas fa-building',
'active' => 'company*',
'permission' => 'manage-company',
],
// [
// 'label' => 'Google Calendar test',
// 'route' => 'google-calendar.events',
// 'icon' => 'fas fa-calendar',
// 'active' => 'google*',
// ],
];
@endphp