@extends('page.layouts.main') @use('Carbon\Carbon') @use('Illuminate\Support\Str') @section('content')
@if($event)
{{ strtoupper(Carbon::parse($event->start_time)->format('F d, Y')) }} - {{ strtoupper(Carbon::parse($event->end_time)->format('F d, Y')) }} | {{ strtoupper($event->location) }}

{!! $event->title !!}

300+ Attendees
{{$event->sponsors->count() > 30 ? $event->sponsors->count() : '30+'}} Exhibitors
20+ Countries
{{ $event->sponsors->count() > 30 ? $event->speakers->count() : '30+' }} Speakers
@if(!empty($event->video))
@endif @else

No Upcoming Event Found

@endif
@if($event)
About The Event
{!! $event->description !!}
View Full Agenda

Event Highlights

@php $details = [ ['icon' => 'calendar-days', 'label' => 'Date', 'value' => Carbon::parse($event->start_time)->format('j F Y') . (Carbon::parse($event->start_time)->format('Y-m-d') !== Carbon::parse($event->end_time)->format('Y-m-d') ? ' – ' . Carbon::parse($event->end_time)->format('j F Y') : '')], ['icon' => 'clock', 'label' => 'Time', 'value' => Carbon::parse($event->start_time)->format('H:i') . ' – ' . Carbon::parse($event->end_time)->format('H:i')], ['icon' => 'map-pin', 'label' => 'Venue', 'value' => $event->location], ['icon' => 'building-office', 'label' => 'Address', 'value' => $event->address], ['icon' => 'building-library', 'label' => 'City', 'value' => $event->city], ['icon' => 'map', 'label' => 'Province', 'value' => $event->province], ['icon' => 'globe-asia-australia', 'label' => 'Country', 'value' => $event->country], ]; $icons = [ 'calendar-days' => '', 'clock' => '', 'map-pin' => '', 'building-office' => '', 'building-library' => '', 'map' => '', 'globe-asia-australia' => '', 'user-group' => '', 'briefcase' => '', 'globe' => '', 'microphone' => '', ]; @endphp @foreach($details as $detail)
{!! $icons[$detail['icon']] ?? '' !!}
{{ $detail['label'] }}
{{ $detail['value'] }}
@endforeach
@if (!empty($event->address))

Google Maps

@endif
Schedule

Program {!! $event->title !!}

Explore sessions, panels, and networking opportunities at {{ $event->title }}.

@php $groupedAgendas = $event->agendas->groupBy(fn($session) => Carbon::parse($session->start_time)->format('Y-m-d')); $dateLabels = collect($groupedAgendas->keys()) ->mapWithKeys(fn($date, $idx) => [$date => 'Day ' . ($idx + 1)]) ->toArray(); @endphp
@forelse($groupedAgendas as $date => $sessions)
{{ Carbon::parse($date)->format('d') }} {{ Carbon::parse($date)->format('F, Y') }}
{{ Carbon::parse($date)->format('l') }}, {{ $dateLabels[$date] ?? '' }}
@forelse($sessions->sortBy('start_time') as $session)
{{ $session->title }}
{{-- @if($session->start_time)
{{ datetimeDisplay($session->start_time, 'H:i') }} @if($session->end_time) - {{ datetimeDisplay($session->end_time, 'H:i') }} @endif
@endif --}} @if($session->description)
{{ $session->description }}
@endif {{-- @php $speaker = optional($session->speaker); @endphp @if($speaker && $speaker->name)
{{ $speaker->name }} @if($speaker->role) ({{ $speaker->role }}) @endif
@endif --}}
@empty
No agenda for this date.
@endforelse
@empty
Full agenda will be announced soon.
@endforelse
The Experts

Keynote Speakers

Meet the influential leaders and innovators shaping the future of aviation.

@forelse($event->speakers as $speaker)
{{ $speaker->name }}

{{ $speaker->name }}

{{ $speaker->role }}

{{ $speaker->organization }}

@if($speaker->linkedin) View LinkedIn @endif
@empty

Speakers will be announced soon. Stay tuned!

@endforelse

Sponsors & Supporting Organisations

@php $eventSponsor = $event->sponsors->where('sequence', 1)->first(); @endphp @if($eventSponsor)
@php $logo = $eventSponsor->logo; $logoUrl = $logo ? asset('media/sponsor/' . $logo) : asset('media/photos/no-sponsor-logo.png'); @endphp {{ $eventSponsor->company_name ?? 'Sponsor Logo' }} {{-- No text --}}
@else
Sponsor details coming soon. Contact us to get involved!
@endif

@if ($event->is_active) {!! $event->title !!} Exhibition Booth Specifications
Showcase Your Brand at {!! $event->title !!} Choose the booth format that best fits your visibility, product display, and engagement needs. {!! $event->title !!} offers two booth types designed to support exhibitors of all scales. @else Documentation @endif

@foreach($event->documentations as $doc)

{{ e($doc->description) }}

@endforeach
@foreach($event->documentations as $doc) @endforeach @foreach($event->speakers as $speaker) @endforeach @foreach($event->sponsors as $sponsor) @endforeach @endif @endsection @push('styles') @endpush @push('scripts') @endpush