@extends('layouts.app') @section('content') @php($heroData = data_get($hero, 'data', [])) @php($listingData = data_get($listing, 'data', [])) @php($ctaData = data_get($cta, 'data', [])) @php($filters = array_filter(['type' => $eventTypeId, 'status' => $temporalStatus !== 'all' ? $temporalStatus : null], fn ($value) => $value !== null))
@if($media){{ $media->translation($locale)?->alt_text ?? '' }}@endif
@can('update',$page)@endcan

{{ $heroData['eyebrow'] ?? '' }}

{{ $heroData['title'] ?? $translation->title }}

{{ $heroData['summary'] ?? $translation->summary }}

@if($featuredEvent) @php($featuredTranslation = $featuredEvent->translation($locale)) @php($featuredStatus = $featuredEvent->temporalStatus())
@endif
@can('update',$page)@endcan

{{ $listingData['eyebrow'] ?? '' }}

{{ $listingData['title'] ?? '' }}

{{ $listingData['summary'] ?? '' }}

@forelse($events as $event) @php($item = $event->translation($locale)) @php($status = $event->temporalStatus())
@can('update',$event)@endcan
@if($event->primaryMedia){{ $event->primaryMedia->translation($locale)?->alt_text ?? $item?->title }}@endif{{ $listingData[$status.'_label'] ?? ucfirst($status) }}

{{ $event->eventType->translation($locale)?->name }}

{{ $item?->title }}

{{ $item?->venue }}

{{ $item?->summary }}

{{ __('events_detail.read_more') }}
@empty

{{ $listingData['empty_title'] ?? '' }}

{{ $listingData['empty_summary'] ?? '' }}

{{ $listingData['reset_label'] ?? '' }}
@endforelse
@can('update',$page)@endcan

{{ $ctaData['eyebrow'] ?? '' }}

{{ $ctaData['title'] ?? '' }}

{{ $ctaData['summary'] ?? '' }}

@endsection