@extends('layouts.account') @section('title', 'My Schools') @section('content')

My Schools

Manage the schools you've created on the {{ config('app.name') }} platform.

Create Your School
@if($schools->isEmpty())

You haven't created any schools yet

Use the onboarding wizard to create your first school. Pick a name, choose a unique subdomain, and your school is ready to use in minutes.

Create Your School
@else
@foreach($schools as $school)
{{ $school->initials }}
{{ $school->isActive() ? 'Active' : ucfirst($school->status->value) }}

{{ $school->name }}

{{ $school->slug }}.{{ $baseDomain }}

Plan: {{ $school->plan?->name ?? 'Trial' }}

@if($school->isTrial())

Trial expires: {{ optional($school->trial_ends_at)->format('M j, Y') }}

@endif
@endforeach
@endif @endsection