{{-- Brand --}}
{{ config('theme.brand_name') }}

{{ config('theme.brand_name') }}

School Management

{{-- Navigation --}}
    @foreach (config('sidebar') as $key => $menu) @php $hasChildren = isset($menu['children']); $parentActive = false; if ($hasChildren) { foreach ($menu['children'] as $child) { if (request()->routeIs(...$child['active'])) { $parentActive = true; break; } } } @endphp {{-- Single Menu --}} @if (!$hasChildren)
  • {{ $menu['title'] }}
  • @endif {{-- Dropdown Menu --}} @if ($hasChildren)
    • @foreach ($menu['children'] as $child)
    • {{ $child['title'] }}
    • @endforeach
  • @endif @endforeach