<!DOCTYPE html>
<html>
<head>
    <title>Dashboard Admin</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body class="bg-light">

<div class="container mt-5">
    <div class="card p-4 shadow">
        <h3>Dashboard Admin</h3>
        <p>Selamat datang, <strong>{{ auth()->user()->name }}</strong></p>

        <ul>
            <li>Kelola data pendaftar (CRUD)</li>
            <li>Laporan & Export Excel</li>
            <li>Manajemen User</li>
        </ul>

        <form action="{{ route('logout') }}" method="POST" class="d-inline">
    @csrf
    <button type="submit" class="btn btn-danger">
        Logout
    </button>
</form>

    </div>
</div>

</body>
</html>
