@extends('front.layouts.app') @section('content')
{!! $class->title !!}
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
{!! $class->type !!}

{!! $class->name !!}

{!! $class->description !!}

@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
@endsection @section('js') @endsection