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

{!! $class->name !!}

{!! $class->description !!}

Details
@if(isset($data['recurring_at']))
Recurring At

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

@endif @if(isset($data['recurrence_at']) && @count(@$data['recurrence_at']) > 0)
Recurrence At

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

@endif @if($class->start_date_time)
Date & Time

{!! convertUtcToLocal($class->start_date_time,config('constants.DISPLAY_DATE_FORMAT')) !!} {!! displayStartEndTime($class) !!}

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

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

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

Online

@elseif($class->location)
Location

{!! $class->location !!}

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

{!! $class->categories_name !!}

@endif
@if($class->products()->count() > 0)
{!! @$page->metaArr()['product_subtitle'] !!}

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

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

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

{!! $products->name !!}

{!! $products->price !!}
arrow-right-blue
@endforeach @if($class->products()->count() > 4)
@endif
@endif @if($class->elexio_form_embed_code && $class->elexio_group_id && $class->start_date_time) @php $elexio_embed = $class->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') @stop @endif @endsection