veza/apps/web/desy/legacy/templates/auth.html

115 lines
5.2 KiB
HTML
Raw Normal View History

2026-01-22 16:23:11 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Veza Auth | Design System</title>
<!-- FONTS -->
<link
href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;700&family=Space+Grotesk:wght@300;400;500;600;700&family=Instrument+Serif:ital@0;1&family=Orbitron:wght@400;500;700;900&family=Rajdhani:wght@300;500;600;700&display=swap"
rel="stylesheet">
<!-- FAVICON -->
<link rel="icon"
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>💠</text></svg>">
<!-- MODULAR SYSTEM -->
<link rel="stylesheet" href="../css/style.css">
</head>
<body>
<div class="page-bg"></div>
<main class="min-h-screen flex items-center justify-center p-6">
<div class="grid grid-cols-1 lg:grid-cols-2 gap-12 w-full max-w-5xl items-center">
<!-- LEFT: Welcome & 2FA -->
<div class="space-y-8">
<div>
<h1 class="glitch text-5xl font-display mb-2" data-text="ACCESS_CONTROL">ACCESS_CONTROL</h1>
<p class="text-void-600">Secure entry point. Verification required.</p>
</div>
<!-- 2FA -->
<div class="auth-glass-panel">
<div class="text-center">
<div
class="w-12 h-12 bg-void-200 rounded-full flex items-center justify-center mx-auto mb-4 border border-cyan-500 text-cyan shadow-neon-cyan">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round">
<rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect>
<path d="M7 11V7a5 5 0 0 1 10 0v4"></path>
</svg>
</div>
<h4 class="text-white mb-2">Two-Factor Authentication</h4>
<p class="text-xs text-void-500 mb-6">Enter the 4-digit code sent to your device.</p>
<div class="otp-group">
<input type="text" class="otp-input" maxlength="1" value="8">
<input type="text" class="otp-input" maxlength="1" value="2">
<input type="text" class="otp-input" maxlength="1" autofocus>
<input type="text" class="otp-input" maxlength="1">
</div>
<div class="text-xs text-center text-void-500 mt-4">
Time remaining: <span class="font-mono text-cyan">01:45</span>
</div>
<div class="mt-6">
<button class="btn btn-primary w-full">Verify Access</button>
</div>
</div>
</div>
</div>
<!-- RIGHT: Register/Login Panel -->
<div class="auth-container w-full">
<div class="auth-glass-panel border-t-4 border-t-magenta-500">
<h3 class="font-display text-2xl text-center mb-1">New Identity</h3>
<p class="text-center text-dim mb-6 text-sm">Join the grid, samurai.</p>
<div class="input-floating">
<input type="text" class="input" placeholder=" " id="reg-user">
<label for="reg-user">Handle</label>
</div>
<div class="input-floating">
<input type="password" class="input" placeholder=" " id="reg-pass">
<label for="reg-pass">Passcode</label>
</div>
<div class="password-strength mb-6">
<div class="strength-bar strength-medium"></div>
</div>
<button class="btn btn-secondary w-full shadow-[0_0_20px_rgba(236,72,153,0.3)]">Create
Identity</button>
<p class="text-center text-xs text-void-500 mt-6">
Already linked? <a href="#" class="text-cyan-400 hover:text-cyan-300">Sync Now</a>
</p>
</div>
</div>
</div>
</main>
<!-- Back to Hub -->
<a href="../index.html"
class="fixed top-6 left-6 flex items-center gap-2 text-void-500 hover:text-cyan-500 transition-colors font-mono text-xs z-50">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<line x1="19" y1="12" x2="5" y2="12"></line>
<polyline points="12 19 5 12 12 5"></polyline>
</svg>
BACK_TO_HUB
</a>
<!-- JS LOGIC -->
<script type="module" src="../js/main.js"></script>
</body>
</html>