6989a98d75
- Arkitektur: docs/auth/passwordless-architecture.md - Backend: iom/quixzoom-auth-service/ (FastAPI + Redis) - Webb: quixzoom-market-pages/se/login/ (QR-kod + polling) - App: iom/quixzoom-app/src/features/auth/ (push + deep links) Flöde: QR-kod → app-godkännande → webb-inloggad
178 lines
4.5 KiB
HTML
178 lines
4.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="sv">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Bli Zoomer — quiXzoom</title>
|
|
<link rel="stylesheet" href="/design-tokens.css">
|
|
<style>
|
|
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
background: #000;
|
|
color: #fff;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 20px;
|
|
}
|
|
.logo {
|
|
font-size: 32px;
|
|
font-weight: 800;
|
|
background: linear-gradient(135deg, #0A84FF 0%, #5E5CE6 100%);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
margin-bottom: 8px;
|
|
}
|
|
.subtitle {
|
|
color: rgba(255,255,255,0.6);
|
|
font-size: 16px;
|
|
margin-bottom: 40px;
|
|
}
|
|
.form-card {
|
|
background: rgba(28,28,30,0.9);
|
|
border: 0.5px solid rgba(255,255,255,0.1);
|
|
border-radius: 20px;
|
|
padding: 32px;
|
|
width: 100%;
|
|
max-width: 400px;
|
|
}
|
|
.form-group {
|
|
margin-bottom: 20px;
|
|
}
|
|
label {
|
|
display: block;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
margin-bottom: 8px;
|
|
color: rgba(255,255,255,0.8);
|
|
}
|
|
input {
|
|
width: 100%;
|
|
padding: 14px 16px;
|
|
border-radius: 12px;
|
|
border: 1px solid rgba(255,255,255,0.15);
|
|
background: rgba(255,255,255,0.05);
|
|
color: #fff;
|
|
font-size: 16px;
|
|
outline: none;
|
|
transition: border-color 0.2s;
|
|
}
|
|
input:focus {
|
|
border-color: #0A84FF;
|
|
}
|
|
input::placeholder {
|
|
color: rgba(255,255,255,0.3);
|
|
}
|
|
.btn {
|
|
width: 100%;
|
|
padding: 16px;
|
|
border-radius: 14px;
|
|
border: none;
|
|
background: #0A84FF;
|
|
color: #fff;
|
|
font-size: 17px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
transition: opacity 0.2s;
|
|
margin-top: 8px;
|
|
}
|
|
.btn:active {
|
|
opacity: 0.8;
|
|
}
|
|
.login-link {
|
|
text-align: center;
|
|
margin-top: 20px;
|
|
color: rgba(255,255,255,0.5);
|
|
font-size: 15px;
|
|
}
|
|
.login-link a {
|
|
color: #0A84FF;
|
|
text-decoration: none;
|
|
font-weight: 600;
|
|
}
|
|
.features {
|
|
display: flex;
|
|
gap: 16px;
|
|
margin-top: 32px;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
.feature {
|
|
text-align: center;
|
|
color: rgba(255,255,255,0.5);
|
|
font-size: 13px;
|
|
}
|
|
.feature-icon {
|
|
font-size: 24px;
|
|
margin-bottom: 4px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="logo">quiXzoom</div>
|
|
<div class="subtitle">Bli en Zoomer — tjana pengar pa faltet</div>
|
|
|
|
<div class="form-card">
|
|
<form onsubmit="handleRegister(event)">
|
|
<div class="form-group">
|
|
<label for="name">Fullstandigt namn</label>
|
|
<input type="text" id="name" placeholder="Anna Svensson" required>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="email">E-post</label>
|
|
<input type="email" id="email" placeholder="anna@exempel.se" required>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="phone">Telefonnummer</label>
|
|
<input type="tel" id="phone" placeholder="+46 70 123 45 67" required>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="password">Losenord</label>
|
|
<input type="password" id="password" placeholder="Minst 8 tecken" required minlength="8">
|
|
</div>
|
|
<button type="submit" class="btn">Skapa konto</button>
|
|
</form>
|
|
|
|
<div class="login-link">
|
|
Har du redan ett konto? <a href="/login">Logga in</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="features">
|
|
<div class="feature">
|
|
<div class="feature-icon">📷</div>
|
|
<div>Fotografera</div>
|
|
</div>
|
|
<div class="feature">
|
|
<div class="feature-icon">💰</div>
|
|
<div>Tjana pengar</div>
|
|
</div>
|
|
<div class="feature">
|
|
<div class="feature-icon">🌍</div>
|
|
<div>Flexibelt</div>
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
function handleRegister(e) {
|
|
e.preventDefault();
|
|
const name = document.getElementById('name').value;
|
|
const email = document.getElementById('email').value;
|
|
|
|
// Demo: store in localStorage
|
|
localStorage.setItem('qz_user', JSON.stringify({
|
|
name: name,
|
|
email: email,
|
|
registered: new Date().toISOString()
|
|
}));
|
|
|
|
alert('Valkommen till quiXzoom, ' + name + '!\n\nI demo-laget: Omdirigerar till appen...');
|
|
window.location.href = '/zoomer-app.html';
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|