@extends('frontend.layouts.app') @section('title', $data['page']->meta_title) @section('meta_keywords', $data['page']->meta_keywords) @section('meta_description', $data['page']->meta_description) @push('head-area') @endpush @section('content')

{{ $data['page']->heading }}

{!! $data['page']->content !!}

@isset($data['date']) {{-- {{ $data['carbon'] }} --}}
@foreach ($data['date'] as $year => $yearRows)

Shows for {{$year}}

@foreach($yearRows as $month => $monthRows)
@php $months_row_rev = $monthRows->reverse() @endphp @foreach($months_row_rev as $day => $rows) @foreach($rows as $show) @php $image = '/up_data/shows/'.$show->image_thumbnail; $link = $blog_link = $detail_link = $association_link = ''; if($show->details_link != '') $link = $association_link = $show->details_link; if(trim(strip_tags($show->details)) != null) $link = $detail_link = 'events/'.$show->id.'-'.str_slug($show->name); if($show->link != '') $link = $blog_link = $show->link; @endphp
@if($show->image_thumbnail != '') {{ $show->heading_content }} @else
{{ $show->start_date.' / '.$show->end_date }}
{{ $show->name }}
@endif
@if($show->location != '')

{{ $show->location }}

@endif
@if($detail_link != '') See Details @endif @if($association_link != '') Visit Now @endif @if($blog_link != '') Learn More @endif
@endforeach @endforeach
@endforeach
@endforeach
@endisset
@endsection