Some checks failed
Host-Based Deploy (Java 21 Fix) / build-and-run (push) Has been cancelled
33 lines
983 B
HTML
33 lines
983 B
HTML
<!DOCTYPE html>
|
||
<html lang="de">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<link rel="icon" href="/img/icon.png" type="image/png">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
<title>Dating – xXx Sphere</title>
|
||
<link rel="stylesheet" href="/css/variables.css">
|
||
<link rel="stylesheet" href="/css/style.css">
|
||
</head>
|
||
<body class="app">
|
||
|
||
<div class="main">
|
||
<div class="content">
|
||
<h1>Dating</h1>
|
||
<p style="color:var(--color-muted);">Kommt bald.</p>
|
||
</div>
|
||
</div>
|
||
|
||
<script src="/js/icons.js"></script>
|
||
<script src="/js/sidebar.js"></script>
|
||
<script>
|
||
fetch('/login/me').then(r => {
|
||
if (r.status === 401) window.location.href = '/login.html';
|
||
return r.ok ? r.json() : null;
|
||
}).then(user => {
|
||
if (!user) return;
|
||
if (!user.datingAktiv) window.location.href = '/konto/einstellungen.html#sec-dating';
|
||
}).catch(() => { window.location.href = '/login.html'; });
|
||
</script>
|
||
</body>
|
||
</html>
|