Logo
    @foreach($primaryMenu as $mainMenu) @if($mainMenu->is_mega_menu == 'no')
  • {{$mainMenu->label == 'gallery'? __('gallery'):$mainMenu->label}} @if(!blank($mainMenu->children))@endif
      @foreach($mainMenu->children as $child)
    • {{$child->label == 'gallery'? __('gallery'):$child->label}} @if(!blank($child->children)) @endif
        @foreach($child->children as $subChild)
      • {{$subChild->label == 'gallery'? __('gallery'):$subChild->label}}
      • @endforeach
    • @endforeach
  • @endif @if($mainMenu->is_mega_menu == 'tab')
  • {{$mainMenu->label == 'gallery'? __('gallery'):$mainMenu->label}}
      @foreach($mainMenu->children as $child) @php $key = 0 @endphp
    • {{$child->label == 'gallery'? __('gallery'):$child->label}}
    • @php $key++ @endphp @endforeach
    @foreach($mainMenu->children as $child)
    @foreach($child->postByCategory as $item)
    @if(isFileExist(@$item->image, $result = @$item->image->medium_image_three)) {!! $item->title !!} @else {!! $item->title !!} @endif
    @if($item->post_type=="video")
    video-icon
    @elseif($item->post_type=="audio")
    audio-icon
    @endif

    {!!Str::limit( $item->title , 35)!!}

    • {{ __('post_by') }} {{$item->user->first_name}} {{date('d F Y', strtotime($item->created_at))}}
    @endforeach
    @endforeach
  • @endif @if($mainMenu->is_mega_menu == 'category')
  • {{$mainMenu->label == 'gallery'? __('gallery'):$mainMenu->label}} @if(!blank($mainMenu->children))@endif
    @foreach($mainMenu->children as $child)

    {{$child->label == 'gallery'? __('gallery'):$child->label}}

      @foreach($child->children as $subChild)
    • {{$subChild->label == 'gallery'? __('gallery'):$subChild->label}}
    • @endforeach
    @endforeach
  • @endif @endforeach