@extends('front.layouts.app') @section('content') @if($event->password && !in_array($event->id,session("password_allow_events"))) @php $password_heading = $event->name; $password_id = $event->id; $password_page = "event"; @endphp @includeIf('front.includes.password') @else
{!! $event->title !!}
@foreach($event->typearr as $type)
{!! $type !!}
@endforeach

{!! $event->name !!}

{!! $event->description !!}
Details
@if(isset($data['recurring_at']))
Recurring At

{!! $data['recurring_at'] !!}

@endif @if(isset($data['recurrence_at']) && @count(@$data['recurrence_at']) > 0)
{!! $data['recurrence_at_title'] !!}

@foreach($data['recurrence_at'] as $recurrence_at) {!! $recurrence_at !!} @endforeach

@endif @if($event->start_date_time && $event->slug != "the-compassion-journey")
Date @if(!$event->is_hide_time)& Time @endif

{!! displayStartEndDateTime($event) !!}

@endif @if(in_array("Online",$event->typearr) && in_array("In Person",$event->typearr))
Location

Online or {!! $event->location ?? config('app.name') !!}

@elseif(in_array("Online",$event->typearr))
Location

Online

@elseif($event->location)
Location

{!! $event->location !!}

@endif @if($event->categories_name)
Categories

{!! $event->categories_name !!}

@endif
@if($event->eventbrite_id) @endif Subscribe to Meck's Events Calendar
@if($event->products()->count() > 0)
{!! @$page->metaArr()['product_subtitle'] !!}

{!! @$page->metaArr()['product_title'] !!}

{!! @$page->metaArr()['product_description'] !!}

@foreach($event->products as $products)
product-image

{!! $products->name !!}

{!! $products->price !!}
arrow-right-blue
@endforeach @if($event->products()->count() > 4)
@endif
@endif @if($event->elexio_form_embed_code && $event->elexio_group_id && $event->start_date_time) @php $elexio_embed = $event->elexio_form_embed_code; if (strpos($elexio_embed, 'style-url') === false) { $customStyleUrl = urlencode(asset('assets/frontend/css/elexio-custom.css')); $elexio_embed = str_replace('custom-templates=', 'custom-templates=&style-url=' . $customStyleUrl, $elexio_embed); } @endphp
{!! $elexio_embed !!}
@endif @section('js') @if($event->eventbrite_id) @endif @stop @endif @endsection