{{-- Placeholder for Desktop Auth --}}

Login Or Sign Up

@csrf

Bicm Logo Bicm Logo Bicm Logo
    @foreach($mainMenu as $menu) {{-- Handle Home Logic --}} @if($menu->page && $menu->page->slug == 'home')
  • {{ $menu->menu_title }} (current)
  • @else {{-- Handle Standard and Dropdown Items --}} @php $hasChildren = $menu->children->isNotEmpty(); $isActive = request()->is($menu->page->slug ?? '*') || request()->is('pages/' . ($menu->page->slug ?? '*') . '*'); @endphp
  • url && $menu->url !== '#') ? 'target="_blank"' : '' }} > {{ $menu->menu_title }} @if($hasChildren)
      @foreach($menu->children as $child)
    • url && $child->url !== '#') ? 'target="_blank"' : '' }} > {{ $child->menu_title }}
    • @endforeach
    @endif
  • @endif @endforeach {{-- Placeholder for Mobile Auth --}}
  • {{-- This will be filled by your AJAX login check --}}