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

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Logout</title>
    <link rel="stylesheet" href="../assets/css/all.min.css">
    <link rel="stylesheet" href="../assets/css/bootstrap.min.css">
    <link rel="stylesheet" href="../assets/css/fontawesome.min.css">
    <link rel="stylesheet" href="../assets/css/style.css">
</head>

<body>
    <button class="logoutBtn" onclick="logout()"><i class="fa-solid fa-right-from-bracket"></i></button>

    <script>
        function logout() {
            localStorage.removeItem("loggedIn");
            window.location.href = "./login/signin.php";
        }
    </script>
</body>

</html>