@extends("layouts.public") @section("meta") @include('includes.seo-meta', [ 'slug' => 'past-events', 'path' => '/past-events/' . $pastEvent->id, 'defaults' => [ 'title' => ___($pastEvent, 'title') . ' - ' . config('app.name'), 'description' => \Illuminate\Support\Str::limit(trim(strip_tags(___($pastEvent, 'description') ?: '')), 160), ], ]) @push('json_ld') @include('includes.json-ld-graphs', [ 'graphs' => [ schema_breadcrumb([ ['name' => __('public.breadcrumb.home'), 'url' => schema_absolute_url('/')], ['name' => __('public.breadcrumb.past_events'), 'url' => schema_absolute_url('/past-events')], ['name' => ___($pastEvent, 'title'), 'url' => schema_absolute_url('/past-events/' . $pastEvent->id)], ]), ], ]) @endpush @endsection @section("content") @php $poster = $pastEvent->thumbnailUrl(); $mediaItems = $pastEvent->media ?? collect(); @endphp @include('includes.corano-breadcrumb', [ 'crumbs' => [ ['label' => __('public.breadcrumb.past_events'), 'url' => __url('/past-events')], ['label' => ___($pastEvent, 'title')], ], ])

{{ $pastEvent->event_date ? $pastEvent->event_date->format('d/m/Y') : __('public.home.past_events_title') }}

{{ ___($pastEvent, 'title') }}

@if($poster)
{{ ___($pastEvent, 'title') }}
@endif @if(___($pastEvent, 'description'))
{!! rich_html(___($pastEvent, 'description')) !!}
@endif @if($mediaItems->count()) @endif
@endsection