<!DOCTYPE html>
<html lang="id">
<head>
    <meta charset="UTF-8">
    <title>User Panel</title>

    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>

<div class="d-flex">

    <!-- SIDEBAR -->
    <div class="bg-dark text-white p-3" style="width:250px; min-height:100vh;">
        <h4 class="text-center">User Panel</h4>
        <hr>

        <ul class="nav flex-column">

            <li class="nav-item">
                <a href="/user/dashboard" class="nav-link text-white">Dashboard</a>
            </li>

            <li class="nav-item">
                <a href="/user/diagnosa" class="nav-link text-white">Diagnosa</a>
            </li>

            <li class="nav-item">
                <a href="/user/riwayat" class="nav-link text-white">Riwayat</a>
            </li>

            <li class="nav-item">
                <a href="/user/edukasi" class="nav-link text-white">Edukasi</a>
            </li>

            <li class="nav-item mt-3">
                <form action="{{ route('logout') }}" method="POST">
                    @csrf
                    <button class="nav-link text-warning border-0 bg-transparent">
                        Logout
                    </button>
                </form>
            </li>

        </ul>
    </div>

    <!-- CONTENT -->
    <div class="flex-fill p-4">
        @yield('content')
    </div>

</div>

</body>
</html>