@php $tenant = \App\Support\Facades\Tenancy::get(); $brandStyle = $tenant->brand_primary_color ? ":root { --color-brand-600: {$tenant->brand_primary_color}; } .dark { --color-brand-600: {$tenant->brand_primary_color}; }" : null; @endphp
@forelse($activities as $index => $activity) @empty @endforelse
# Name Instructor Schedule Order Public
{{ $index + 1 }} {{ $activity->name }} {{ $activity->instructor_name ?? '—' }} {{ $activity->schedule ?? '—' }} {{ $activity->sort_order }} {{ $activity->is_public ? 'Public' : 'Hidden' }}
No activities added yet.
@csrf
Photo preview
@foreach($activities as $activity)
@csrf @method('PUT')
@if($activity->photo_path) @endif
Photo preview

{{ $activity->photo_path ? 'Replace with a new photo (optional):' : 'Photo (optional):' }}

@if($activity->photo_path) @endif
@endforeach