@php $classtypesShow = App\Models\HomepageSetting::get('classtypes_show', true); $classtypesLabel = App\Models\HomepageSetting::get('classtypes_label', 'CLASS FORMATS'); $classtypesHeading = App\Models\HomepageSetting::get('classtypes_heading', 'Choose the Style That Suits You'); $classtypesSubtext = App\Models\HomepageSetting::get('classtypes_subtext', 'We offer both collaborative group classrooms and highly focused private sessions.'); $groupCard = App\Models\HomepageSetting::get('classtypes_group_json', []); $privateCard = App\Models\HomepageSetting::get('classtypes_private_json', []); @endphp @if($classtypesShow)
@if(isset($activeEditingSection) && $activeEditingSection === 'classtypes')
Editing: Class Types
@endif
{{ $classtypesLabel }}

{{ $classtypesHeading }}

{{ $classtypesSubtext }}

@if(!empty($groupCard))
{{ $groupCard['badge'] ?? '1-to-Many' }} {{ $groupCard['popular_label'] ?? 'Most Popular' }}
👥

{{ $groupCard['title'] ?? 'Group Classes' }}

{{ $groupCard['description'] ?? '' }}

    @foreach($groupCard['includes'] ?? [] as $item)
  • ✓ {{ $item }}
  • @endforeach
Pricing Starting From
{{ $groupCard['price_from'] ?? 'from $45' }} {{ $groupCard['price_unit'] ?? '/ month' }}
{{ $groupCard['btn_label'] ?? 'Browse Group Classes' }}
@endif @if(!empty($privateCard))
{{ $privateCard['badge'] ?? '1-to-1' }} {{ $privateCard['premium_label'] ?? 'Premium' }}
👤

{{ $privateCard['title'] ?? 'Private 1-to-1 Classes' }}

{{ $privateCard['description'] ?? '' }}

    @foreach($privateCard['includes'] ?? [] as $item)
  • ✓ {{ $item }}
  • @endforeach
Pricing Starting From
{{ $privateCard['price_from'] ?? 'from $65' }} {{ $privateCard['price_unit'] ?? '/ session' }}
{{ $privateCard['btn_label'] ?? 'Find a Private Tutor' }}
@endif
@endif