Main logo Logo responsive and sticky
    @foreach ($navItems as $item) {{-- Check if the item should be displayed based on `notinIndia` and user location --}} @if (!$isIndia || $item->notinIndia != 1) @if ($item->children->isEmpty()) {{-- Display the item if it has no children --}}
  • {{ $item->name }}
  • @else {{-- Display the item as a dropdown if it has children --}}
  • {{ $item->name }}
      @foreach ($item->children as $child) {{-- Check if the child item should be displayed based on `notinIndia` and user location --}} @if (!$isIndia || $child->notinIndia != 1)
    • {{ $child->name }}
    • @endif @endforeach
  • @endif @endif @endforeach