<!DOCTYPE html>
<html lang="id">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>@yield('title') | Admin Panel</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css" rel="stylesheet">
</head>

<body class="bg-light">

    <div class="d-flex">
        <div class="bg-white shadow-sm p-3" style="width:250px; height:100vh;">
            <h4 class="text-warning fw-bold mb-4">Admin Panel</h4>
            <ul class="nav flex-column">
                <li class="nav-item mb-2">
                    <a href="{{ route('admin.dashboard') }}" class="nav-link fw-bold text-dark">
                        <i class="bi bi-speedometer2 me-2"></i> Dashboard
                    </a>
                </li>
                <li class="nav-item mb-2">
                    <a href="{{ route('user.koleksi') }}" class="nav-link text-dark fw-bold">
                        <i class="bi bi-journal-bookmark me-2"></i> Koleksi
                    </a>
                </li>
                <li class="nav-item mb-2">
                    <a href="{{ route('user.profil') }}" class="nav-link text-dark fw-bold">
                        <i class="bi bi-person-circle me-2"></i> Profil
                    </a>
                </li>
            </ul>
        </div>

        <div class="flex-grow-1 p-4">
            @yield('content')
        </div>
    </div>

</body>

</html>

