<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Academy Admin</title>
    <script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-gray-100 flex min-h-screen">
<!-- Sidebar -->
<aside class="w-64 bg-gray-900 text-white min-h-screen p-4">
    <h2 class="text-2xl font-bold mb-6">Admin Panel</h2>
    <nav>
        <a href="{{ route('admin.schools.index') }}" class="block py-2 px-4 rounded hover:bg-gray-800">Schools</a>
        <!-- Add other menu items here -->
    </nav>
</aside>

<!-- Main Content -->
<main class="flex-1 p-8">
    @if(session('success'))
        <div class="bg-green-100 text-green-800 p-4 rounded mb-4">
            {{ session('success') }}
        </div>
    @endif

    @yield('content')
</main>
</body>
</html>
