- /lagebild/ -> 301 Redirect -> /lagen/iran-konflikt/ - Relative Pfade auf absolute umgestellt (Tiefe 2) - Sync-Script + Analytics auf neuen Pfad aktualisiert - /vorschau/ mit Passwort-Gate fuer neue Hauptseite - CLAUDE.md aktualisiert - .gitignore: Lagen-Datenverzeichnisse ausgeschlossen Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
226 Zeilen
6.8 KiB
HTML
226 Zeilen
6.8 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>AegisSight - Vorschau</title>
|
|
<meta name="robots" content="noindex, nofollow, noarchive">
|
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
|
|
<style>
|
|
@font-face {
|
|
font-family: 'Inter';
|
|
src: url('/assets/fonts/Inter-Regular.woff2') format('woff2');
|
|
font-weight: 400;
|
|
}
|
|
@font-face {
|
|
font-family: 'Inter';
|
|
src: url('/assets/fonts/Inter-SemiBold.woff2') format('woff2');
|
|
font-weight: 600;
|
|
}
|
|
@font-face {
|
|
font-family: 'Inter';
|
|
src: url('/assets/fonts/Inter-Bold.woff2') format('woff2');
|
|
font-weight: 700;
|
|
}
|
|
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
body {
|
|
font-family: 'Inter', system-ui, -apple-system, sans-serif;
|
|
background: #0A1832;
|
|
color: #E8E8E8;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.container {
|
|
text-align: center;
|
|
padding: 2rem;
|
|
max-width: 600px;
|
|
}
|
|
.logo {
|
|
width: 80px;
|
|
height: 80px;
|
|
margin: 0 auto 2rem;
|
|
}
|
|
.logo img {
|
|
background: #fff;
|
|
border-radius: 12px;
|
|
padding: 6px;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
h1 {
|
|
font-size: 2rem;
|
|
font-weight: 700;
|
|
color: #C8A851;
|
|
margin-bottom: 1rem;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
p {
|
|
font-size: 1.1rem;
|
|
line-height: 1.6;
|
|
color: #A0A8B8;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
.divider {
|
|
width: 60px;
|
|
height: 2px;
|
|
background: #C8A851;
|
|
margin: 1.5rem auto;
|
|
opacity: 0.6;
|
|
}
|
|
.badge {
|
|
display: inline-block;
|
|
padding: 0.4rem 1.2rem;
|
|
border: 1px solid rgba(200, 168, 81, 0.3);
|
|
border-radius: 20px;
|
|
color: #C8A851;
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.05em;
|
|
text-transform: uppercase;
|
|
margin-top: 1.5rem;
|
|
}
|
|
|
|
/* Login Gate */
|
|
#login-gate {
|
|
text-align: center;
|
|
padding: 2rem;
|
|
max-width: 400px;
|
|
}
|
|
#login-gate h1 {
|
|
font-size: 1.6rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
#login-gate p {
|
|
font-size: 0.95rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
.pw-form {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
justify-content: center;
|
|
}
|
|
.pw-input {
|
|
padding: 0.7rem 1rem;
|
|
border: 1px solid rgba(200, 168, 81, 0.3);
|
|
border-radius: 6px;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: #E8E8E8;
|
|
font-family: inherit;
|
|
font-size: 0.95rem;
|
|
width: 220px;
|
|
outline: none;
|
|
transition: border-color 0.2s;
|
|
}
|
|
.pw-input:focus {
|
|
border-color: #C8A851;
|
|
}
|
|
.pw-input::placeholder {
|
|
color: #5A6478;
|
|
}
|
|
.pw-btn {
|
|
padding: 0.7rem 1.2rem;
|
|
border: none;
|
|
border-radius: 6px;
|
|
background: #C8A851;
|
|
color: #0A1832;
|
|
font-family: inherit;
|
|
font-size: 0.95rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
}
|
|
.pw-btn:hover {
|
|
background: #D4B96A;
|
|
}
|
|
.pw-error {
|
|
color: #E85454;
|
|
font-size: 0.85rem;
|
|
margin-top: 0.75rem;
|
|
display: none;
|
|
}
|
|
|
|
#content { display: none; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<!-- Login Gate -->
|
|
<div id="login-gate">
|
|
<div class="logo">
|
|
<img src="/assets/images/logos/AegisSightLogo_NavyGold.svg" alt="AegisSight">
|
|
</div>
|
|
<h1>Vorschau</h1>
|
|
<p>Zugang nur mit Passwort</p>
|
|
<form class="pw-form" onsubmit="return checkPassword(event)">
|
|
<input type="password" class="pw-input" id="pw-input" placeholder="Passwort" autofocus>
|
|
<button type="submit" class="pw-btn">Weiter</button>
|
|
</form>
|
|
<div class="pw-error" id="pw-error">Falsches Passwort</div>
|
|
</div>
|
|
|
|
<!-- Actual Content (hidden until authenticated) -->
|
|
<div id="content">
|
|
<div class="container">
|
|
<div class="logo">
|
|
<img src="/assets/images/logos/AegisSightLogo_NavyGold.svg" alt="AegisSight">
|
|
</div>
|
|
<h1>Vorschau</h1>
|
|
<p>Hier entsteht die neue Hauptseite.</p>
|
|
|
|
<div class="divider"></div>
|
|
<span class="badge">Work in Progress</span>
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
const HASH = 'feab257468bdb1b836bae5bc439db625d9a1b9a56ca60e0916ab04fb04c2ec31';
|
|
|
|
async function sha256(str) {
|
|
const buf = await crypto.subtle.digest('SHA-256', new TextEncoder().encode(str));
|
|
return Array.from(new Uint8Array(buf)).map(b => b.toString(16).padStart(2, '0')).join('');
|
|
}
|
|
|
|
function getCookie(name) {
|
|
const m = document.cookie.match(new RegExp('(?:^|; )' + name + '=([^;]*)'));
|
|
return m ? m[1] : null;
|
|
}
|
|
|
|
function setCookie(name, value, days) {
|
|
const d = new Date();
|
|
d.setTime(d.getTime() + days * 86400000);
|
|
document.cookie = name + '=' + value + ';expires=' + d.toUTCString() + ';path=/vorschau/;SameSite=Strict;Secure';
|
|
}
|
|
|
|
function unlock() {
|
|
document.getElementById('login-gate').style.display = 'none';
|
|
document.getElementById('content').style.display = 'flex';
|
|
document.body.style.minHeight = '100vh';
|
|
}
|
|
|
|
async function checkPassword(e) {
|
|
e.preventDefault();
|
|
const pw = document.getElementById('pw-input').value;
|
|
const hash = await sha256(pw);
|
|
if (hash === HASH) {
|
|
setCookie('vorschau_auth', hash, 30);
|
|
unlock();
|
|
} else {
|
|
document.getElementById('pw-error').style.display = 'block';
|
|
document.getElementById('pw-input').value = '';
|
|
document.getElementById('pw-input').focus();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
// Check cookie on load
|
|
(async () => {
|
|
if (getCookie('vorschau_auth') === HASH) {
|
|
unlock();
|
|
}
|
|
})();
|
|
</script>
|
|
</body>
|
|
</html>
|