Attendize/resources/views/desktop/Pages/EventsPage.blade.php

40 lines
1.6 KiB
PHP

@extends("desktop.Layouts.EventsLayout")
@section('content')
{{\DaveJamesMiller\Breadcrumbs\Facades\Breadcrumbs::render('category',$category)}}
@include("Shared.Partials.FilterMenu")
@foreach($sub_cats as $cat)
@php
$cat_events = $events->where('sub_category_id',$cat->id);
@endphp
<section class="movie-items-group firts-child">
<div class="container">
<div class="row kinoteator tab-part">
<div class="tab-header d-flex justify-content-between col-12">
<h2 class="font-weight-bold">{{$cat->title}}</h2>
<div style="height: 5px; position: absolute; bottom: 10px; width: 100px; background-color: rgba(211,61,51,1)"></div>
<a class="red_button" href="{{$cat->url}}">{{__("ClientSide.rep")}}</a>
</div>
<div class="tab-ozi col-12" style="margin-top: 10px">
<!-- Tab panes -->
<div class="tab-content">
<div class="container">
<div class="row">
@foreach($cat_events as $event)
@include("desktop.EventsList.{$cat->view_type}",['event'=>$event])
@endforeach
</div>
</div>
</div>
<!-- End Tab panes -->
</div>
</div>
</div>
</section>
@endforeach
@endsection