@if(!empty($mainMenu))
    @foreach($mainMenu as $menu)
  • @endforeach
@endif