@extends('web.layouts.app') @push('web.styles') @vite('resources/css/web/page/event_solo_coming_soon.css') @endpush @php Carbon\Carbon::setLocale('fr'); function isYoutubeUrl($url) { return preg_match('/(youtube\.com|youtu\.be)/i', $url); } @endphp @section('content')
{{ $event->title }}

{{ $event->title }}

{{ $event->event_at->translatedFormat('l j F Y') }}

@if ($event->venue)

LIEU : {{ $event->venue->name }}

@endif @if ($event->opening_at && $event->closing_at)

HORAIRES : {{ $event->opening_at->format('H:i') }} - {{ $event->closing_at->format('H:i') }}

@endif @if ($event->price_title && $event->rate)

Ticket Icon {{ $event->price_title }} : {{ $event->rate }} (Cool Price)

@endif @if ($event->vip_price_title && $event->vip_rate)

Ticket Icon {{ $event->vip_price_title }} : {{ $event->vip_rate }} (Cool Price)

@endif @if ($event->hotline)

HOTLINE : {{ $event->hotline }}

@endif @if ($event->pointsOfSale && $event->pointsOfSale->isNotEmpty())

AUTRES POINTS DE VENTE : {{ $event->pointsOfSale->pluck('name')->join(', ') }}

@endif

{{ $event->subtitle }}

{!! $event->description_html !!}

@if ($event->stages->count() > 0)

le programme

@foreach ($event->stages as $stage)

{{ $stage->name }}

@foreach ($stage->slots as $slot) @php $artist = $slot->artist; @endphp
{{ $artist->name }}
{{ $slot->starts_at->format('H:i') }}
{{ $artist->name }}
Voir la fiche
@endforeach
@endforeach {{--

La isala electronica

Event Artist
13H
VINCENT BRASSE
Voir la fiche
Event Artist
15H
LES AMAZONES
Voir la fiche
Event Artist
15H
LES AMAZONES
Voir la fiche

eclosia stage

Event Artist
13H
VINCENT BRASSE
Voir la fiche
Event Artist
15H
LES AMAZONES
Voir la fiche
Event Artist
15H
LES AMAZONES
Voir la fiche
--}}
@endif @if ($event->videos && count($event->videos))

les videos

@foreach ($event->videos as $video) @php $videoUrl = $video['link']; @endphp
@if (isYoutubeUrl($videoUrl)) @php preg_match( '/(youtu\.be\/|youtube\.com\/(watch\?v=|embed\/|shorts\/))([a-zA-Z0-9_-]+)/', $videoUrl, $matches, ); $videoId = $matches[3] ?? null; @endphp @if ($videoId) @endif @else @endif
@endforeach
@endif

INFOS TICKETS

@if ($event->price_title && $event->rate)

{{ $event->price_title }} [Sold Out]

{{ $event->rate }} - {{ $event->price_title }}[Sold Out]

@endif
@if ($event->vip_price_title && $event->vip_rate)
🚀

{{ $event->vip_price_title }} {{ $event->vip_rate }}

{{ $event->vip_rate }} - {{ $event->vip_price_title }}{{ ' ' . $event->vip_rate }}

@endif

Last Chance Rs800

PAX 99 - Last Chance Rs1600

🎟️ Doors Rs1000 / Rs2000 (PAX 99) Free -12
@if ($event->venue)

LE LIEU

{{ $event->venue->name }}

{{ $event->venue->name }}

{{ $event->venue->full_address }}

@endif @if ($event->additionalInformation()->count()) @foreach ($event->additionalInformation as $info)
@if ($info->title)

{{ $info->title }}

@endif
@if ($info->hasMedia('event_information_media'))
PAX 99
@endif @if ($info->text)

{!! $info->text !!}

@endif
@endforeach @endif @if ($event->partners && $event->partners->isNotEmpty())

NOS PARTENAIRES

@foreach ($event->partners as $partner)
{{ $partner->name }}
@endforeach
@endif @if ($event->pointsOfSale->count() > 0)

AUTRES POINTS DE VENTE

@foreach ($event->pointsOfSale as $pointOfSale)
{{ $pointOfSale->name }}
{{ $pointOfSale->pivot->override_url ? $pointOfSale->pivot->override_url : $pointOfSale->base_url }} @if ($pointOfSale->phone) {{ ' | ' . $pointOfSale->phone }} @endif
@endforeach
@else

AUTRES POINTS DE VENTE

Otayo
www.otavo.mu
Ennoia
Grand Baie La Croisette
Le Connoisseur
Mon Choisy Mall
@endif @if ($lastEvent && $lastEvent->hasMedia('event_poster'))

EDITION PRECEDENTE

@endif
@endsection