@extends('layouts.layout') @section('title', 'Inicio') @section('body')

Encuentra algo cerca de ti

@if(!empty($events['proximos']))

Proximos Eventos Ver más

@php $totalEvents = count(array_slice($events['proximos']['data'],0,5)); $createEventPosition = rand(0, $totalEvents); $counter = 0; @endphp @foreach (array_slice($events['proximos']['data'],0,5) as $event) @if($counter == $createEventPosition) @endif
@php $super_img_url = env('CDN_URL') . '/public/products/' . $event['id'] . '/' . $event['ticketing_super_img']; $poster_url = env('CDN_URL') . '/public/products/' . $event['id'] . '/' . $event['poster']; @endphp {{ $event['title_small'] }}
{{ \Carbon\Carbon::parse($event['fecha_evento'])->format('d/m/Y') }} • {{ $event['hora_evento'] }}
{{ $event['product_categorie']['category']['name'] }}
{{ $event['title_small'] }}

Estadio Nacional

@php $counter++; @endphp @endforeach
@endif @if(!empty($events['destacados']['data']))

Eventos Destacados Ver más

@foreach (array_slice($events['destacados']['data'],0,6) as $event)
@php $super_img_url = env('CDN_URL') . '/public/products/' . $event['id'] . '/' . $event['ticketing_super_img']; $poster_url = env('CDN_URL') . '/public/products/' . $event['id'] . '/' . $event['poster']; @endphp {{ $event['title_small'] }}
{{ \Carbon\Carbon::parse($event['fecha_evento'])->format('d/m/Y') }} • {{ $event['hora_evento'] }}
{{ $event['product_categorie']['category']['name'] }}
{{ $event['title_small'] }}

Estadio Nacional

@endforeach
@endif

¿Tienes un evento?

Crea un evento con nosotros

People silhouette
@endsection