@extends("desktop.Layouts.EventsLayout") @section('content') {{\DaveJamesMiller\Breadcrumbs\Facades\Breadcrumbs::render('category',$category)}} @include("Shared.Partials.FilterMenu") @foreach($category->children as $cat) @php $cat_events = $events->where('sub_category_id',$cat->id); @endphp {{$cat->title}} @if($cat_events->count() == $cat->events_limit) {{__("ClientSide.rep")}} @endif @foreach($cat_events as $event) @include("desktop.EventsList.{$cat->view_type}",['event'=>$event]) @endforeach @endforeach @endsection @section('after_scripts') @endsection