@extends('layouts.school-portal')

@section('title', 'Classes')

@section('content')
<div class="container-fluid">
    <div class="row">
        <div class="col-12">
            <div class="d-flex justify-content-between align-items-center mb-4">
                <h2>Classes</h2>
                <a href="{{ route('school-classes.create') }}" class="btn btn-success">
                    <i class="fas fa-plus"></i> Add New Class
                </a>
            </div>

            <div class="card">
                <div class="card-body">
                    @livewire('school-class.school-class-table')
                </div>
            </div>
        </div>
    </div>
</div>
@endsection