@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 Coach Schedule Order Public
{{ $index + 1 }} {{ $activity->name }} {{ $activity->coach_name ?? '—' }} {{ $activity->schedule ?? '—' }} {{ $activity->sort_order }} {{ $activity->is_public ? 'Public' : 'Hidden' }}
No sports added yet.

The competitive sports and team activities your school offers — shown on the public "Sports" page with photos, coaches, and schedules.

How it works

  • Add Sport — name, coach, schedule, an optional photo and description, and a sort order controlling display position.
  • The Public toggle controls whether it's visible on the public site — uncheck it to keep a sport listed here without publishing it yet.
  • Sports Achievements (left sidebar) is a separate list of awards, trophies, and results tied to these sports — also shown publicly.

When it's needed

Whenever the school adds, drops, or updates a competitive sports program and wants it reflected on the public website.

Looking for non-competitive activities like Yoga or Fitness Drills instead? That's the separate Physical Activities page.

@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