@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.
Current programs ({{ $programs->count() }})
@forelse($programs as $program)
@if ($program->image)
@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')↓
Edit
{{ $program->is_active ? 'Active' : 'Hidden' }}
@csrf @method('PATCH'){{ $program->is_active ? 'Deactivate' : 'Activate' }}
@csrf @method('DELETE')Delete
@csrf
@method('PUT')
Short description {{ $program->description }}
Save Program
@empty
No programs yet. Add your first program above.
@endforelse
@endsection