@extends('layouts.school') @section('title', 'Academic Programs') @section('header', 'Academic Programs') @section('content')

About this section

These are the programs shown in the Academic Programs section of your public website. They are independent of your internal class management records — only the programs configured here appear publicly, and only for your school.

@csrf

Current programs ({{ $programs->count() }})

@forelse($programs as $program)
@if ($program->image) {{ $program->title }} @elseif ($program->icon) {!! \App\Services\Website\ProgramVisuals::path($program->icon) !!} @else {!! \App\Services\Website\ProgramVisuals::svg() !!} @endif

{{ $program->title }}

@if ($program->description)

{{ $program->description }}

@endif #{{ $program->display_order }} @if ($program->link){{ $program->link }}@endif
@csrf @method('PATCH')
@csrf @method('PATCH')
{{ $program->is_active ? 'Active' : 'Hidden' }}
@csrf @method('PATCH')
@csrf @method('DELETE')
@empty
No programs yet. Add your first program above.
@endforelse
@endsection