{{-- Example of how to use the optimized sidebar navigation with expandable sections --}} {{-- Simple usage with expandable sections --}} {{-- Or if you need to pass specific properties --}} {{-- You can also create custom expandable sections --}} {{-- The old way required including a huge 1167-line file: --}} {{-- @include('livewire.admin.partials.admin-sidebar-navigation') --}} {{-- This optimization now provides: - 87% code reduction (1167 lines → ~150 lines base + expandable sections) - Expandable/collapsible menu categories - Persistent section state (remembers expanded/collapsed state) - Better organization with logical groupings: * Dashboard * Tenant Management * Sales (Subscriptions, Invoices, Transactions) * Plans * Support (Tickets, Departments) * Marketing (Email Templates, Languages, Themes) * Content (Pages, FAQs) * User Management (Users, Roles) * System Administration (Currencies, Taxes, Logs, Modules) * WhatsApp Integration * Settings (Payment, Website, System) - Smooth animations and transitions - Icon-only mode for collapsed sidebar - Tooltips for collapsed state - localStorage persistence for section states - Easy to extend and modify - Consistent styling - Reusable components --}} to use the optimized sidebar navigation --}} {{-- Simple usage - just include the component --}} {{-- Or if you need to pass specific properties --}} {{-- The old way required including a huge 1167-line file: --}} {{-- @include('livewire.admin.partials.admin-sidebar-navigation') --}} {{-- This optimization provides: - 87% code reduction (1167 lines → ~150 lines) - Better maintainability - Consistent styling - Reusable components - Easy to extend and modify --}}