@extends('layouts.theevent') @section('title', $currentEvent->title) @section('description', $currentEvent->subtitle ?? 'Événement exceptionnel') @push('styles') @endpush @section('content')

{{ $currentEvent->title }}

@if($currentEvent->subtitle)

{{ $currentEvent->subtitle }}

@endif
{{ $currentEvent->start_date->format('d M Y') }} @if($currentEvent->start_date->format('Y-m-d') !== $currentEvent->end_date->format('Y-m-d')) - {{ $currentEvent->end_date->format('d M Y') }} @endif
@if($currentEvent->location)
{{ $currentEvent->location }}
@endif @if($currentEvent->max_participants)
{{ $currentEvent->max_participants }} participants max
@endif
@if($currentEvent->start_date->isFuture())

L'événement commence dans

00

Jours

00

Heures

00

Minutes

00

Secondes
@endif
@if($currentEvent->price && $currentEvent->start_date->isFuture()) Réserver ({{ number_format($currentEvent->price, 0) }}€) @endif @if($currentEvent->speakers->count() > 0) Voir les intervenants @endif
@if($currentEvent->price)

@if($currentEvent->isOngoing()) Événement en cours @elseif($currentEvent->start_date->isPast()) Événement terminé @else Réservation anticipée disponible @endif

@endif
@if($currentEvent->sponsors && count($currentEvent->sponsors) > 0)

Soutenu par nos partenaires

@foreach($currentEvent->sponsors as $sponsor) @endforeach
@endif
@php $aboutSection = $currentEvent->sections->where('section_type', 'about')->where('is_active', true)->first(); @endphp @if($aboutSection)

{{ $aboutSection->title ?? 'À propos de l\'événement' }}

@if($aboutSection->content) {!! nl2br(e($aboutSection->content)) !!} @else

{{ $currentEvent->description }}

@endif
@endif @if($currentEvent->speakers->count() > 0)

Nos Intervenants

Découvrez les experts qui partageront leur expertise

@foreach($currentEvent->speakers->take(6) as $speaker)
@if($speaker->image) {{ $speaker->name }} @else @endif
{{ $speaker->name }}
@if($speaker->title)
{{ $speaker->title }}
@endif @if($speaker->company)
{{ $speaker->company }}
@endif @if($speaker->bio)
{{ Str::limit($speaker->bio, 150) }}
@endif @if($speaker->social_links) @endif
@endforeach
@endif @if($currentEvent->scheduleItems->count() > 0)

Programme de l'Événement

Découvrez le planning détaillé de nos sessions

@php $days = $currentEvent->getScheduleDays(); @endphp @if(count($days) > 1) @endif
@foreach($days as $index => $day)
@foreach($currentEvent->scheduleItems->where('day', $day) as $item)
{{ $item->getFormattedTime() }} @if($item->end_time)
{{ $item->end_time->format('H:i') }} @endif
@if($item->speaker && $item->speaker->image) {{ $item->speaker->name }} @endif
{{ $item->title }} @if($item->speaker) - {{ $item->speaker->name }} @endif
@if($item->description)

{{ $item->description }}

@endif @if($item->location) {{ $item->location }} @endif @if($item->isOngoing()) En cours @endif
@endforeach
@endforeach
@endif @php $venueSection = $currentEvent->sections->where('section_type', 'venue')->where('is_active', true)->first(); @endphp @if($venueSection || $currentEvent->address)

{{ $venueSection->title ?? 'Lieu & Informations pratiques' }}

@if($venueSection && $venueSection->content) {!! nl2br(e($venueSection->content)) !!} @else

{{ $currentEvent->location }}

@if($currentEvent->address)

{{ $currentEvent->address }}

@endif @endif
@if($currentEvent->address)
@endif
@endif @if($currentEvent->price && $currentEvent->start_date->isFuture())

Réservation

Sécurisez votre place dès maintenant

{{ $currentEvent->title }}

{{ $currentEvent->start_date->format('d M Y') }}

{{ number_format($currentEvent->price, 0) }}€ /participant
@if($currentEvent->max_participants)

Places limitées à {{ $currentEvent->max_participants }} participants

@endif
@endif @endsection @push('scripts') @endpush