Files
Hyperia/ui/site/index.html
metacryst faf2041b7f signins
2025-09-30 17:44:39 -05:00

26 lines
855 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<title>Hyperia</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="_/icons/logo.svg">
<link rel="stylesheet" href="index.css">
</head>
<body>
<span id="title" class="link" onclick='window.location.href="/"'>hyperia
</span>
<img class="main-image">
<div class="links" style="z-index: 1; cursor: default; position: fixed; top: 5.5vh; right: 4.5vw">
<a href="#" onclick="logout(); return false;">sign out</a>
<script>
function logout() {
fetch('/signout', { method: 'GET', credentials: 'include' })
.then(() => {
// Force a clean full-page reload of "/"
window.location.replace('/?loggedout');
});
}
</script>
</div>
</body>
</html>