Files
Ninjaserver/public/email-templates/reauthentication.html
2025-09-23 14:13:24 +02:00

328 lines
9.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>Erneute Authentifizierung - NinjaCross</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
background: #0a0a0f;
color: #ffffff;
line-height: 1.6;
margin: 0;
padding: 0;
}
.email-container {
max-width: 600px;
margin: 0 auto;
background: #0a0a0f;
background-image:
radial-gradient(circle at 20% 80%, #1a1a2e 0%, transparent 50%),
radial-gradient(circle at 80% 20%, #16213e 0%, transparent 50%),
radial-gradient(circle at 40% 40%, #0f3460 0%, transparent 50%);
}
.email-header {
text-align: center;
padding: 3rem 2rem 2rem;
}
.logo {
font-size: 2.5rem;
font-weight: 700;
background: linear-gradient(135deg, #00d4ff, #ff6b35, #ffd700);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 0.5rem;
letter-spacing: -0.02em;
}
.tagline {
color: #94a3b8;
font-size: 1rem;
font-weight: 400;
}
.email-content {
background: rgba(30, 41, 59, 0.95);
backdrop-filter: blur(20px);
border: 1px solid rgba(51, 65, 85, 0.3);
margin: 0 2rem;
padding: 2.5rem;
border-radius: 1.5rem;
box-shadow:
0 25px 50px rgba(0, 0, 0, 0.3),
0 0 0 1px rgba(0, 212, 255, 0.1);
}
.reauth-title {
font-size: 1.75rem;
font-weight: 600;
color: #e2e8f0;
text-align: center;
margin-bottom: 1.5rem;
}
.reauth-message {
color: #cbd5e1;
font-size: 1rem;
margin-bottom: 2rem;
text-align: center;
}
.reauth-info {
background: rgba(51, 65, 85, 0.3);
border: 1px solid rgba(0, 212, 255, 0.1);
border-radius: 0.75rem;
padding: 1.5rem;
margin-bottom: 2rem;
text-align: center;
}
.reauth-icon {
font-size: 3rem;
margin-bottom: 1rem;
display: block;
}
.reauth-description {
color: #94a3b8;
font-size: 0.9rem;
margin-bottom: 1rem;
}
.cta-button {
display: inline-block;
width: 100%;
padding: 1rem 2rem;
background: linear-gradient(135deg, #00d4ff, #0891b2);
color: white;
text-decoration: none;
border-radius: 0.75rem;
font-weight: 600;
font-size: 1rem;
text-align: center;
text-transform: uppercase;
letter-spacing: 0.05em;
box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
transition: all 0.2s ease;
margin-bottom: 2rem;
}
.cta-button:hover {
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(0, 212, 255, 0.4);
}
.security-info {
background: rgba(34, 197, 94, 0.1);
border: 1px solid rgba(34, 197, 94, 0.3);
border-radius: 0.75rem;
padding: 1.5rem;
margin-top: 2rem;
}
.security-title {
color: #22c55e;
font-weight: 600;
font-size: 1rem;
margin-bottom: 1rem;
text-align: center;
}
.security-text {
color: #86efac;
font-size: 0.9rem;
text-align: center;
line-height: 1.6;
}
.warning-info {
background: rgba(245, 158, 11, 0.1);
border: 1px solid rgba(245, 158, 11, 0.3);
border-radius: 0.75rem;
padding: 1rem;
margin-top: 1.5rem;
}
.warning-title {
color: #f59e0b;
font-weight: 600;
font-size: 0.9rem;
margin-bottom: 0.5rem;
text-align: center;
}
.warning-text {
color: #fbbf24;
font-size: 0.85rem;
text-align: center;
}
.token-section {
background: rgba(0, 212, 255, 0.1);
border: 1px solid rgba(0, 212, 255, 0.3);
border-radius: 0.75rem;
padding: 1.5rem;
margin: 2rem 0;
text-align: center;
}
.token-display {
margin-top: 1rem;
}
.token-code {
background: #1e293b;
border: 2px solid #00d4ff;
border-radius: 0.5rem;
padding: 1rem;
font-family: 'Courier New', monospace;
font-size: 1.5rem;
font-weight: 700;
color: #00d4ff;
letter-spacing: 0.1em;
text-align: center;
margin: 0 auto;
max-width: 300px;
box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}
.email-footer {
text-align: center;
padding: 2rem;
color: #64748b;
font-size: 0.875rem;
}
.footer-links {
margin-top: 1rem;
}
.footer-links a {
color: #00d4ff;
text-decoration: none;
margin: 0 1rem;
}
.footer-links a:hover {
color: #0891b2;
}
.divider {
height: 1px;
background: linear-gradient(90deg, transparent, #334155, transparent);
margin: 2rem 0;
}
/* Mobile Responsive */
@media (max-width: 600px) {
.email-content {
margin: 0 1rem;
padding: 2rem;
}
.email-header {
padding: 2rem 1rem 1rem;
}
.logo {
font-size: 2rem;
}
.reauth-title {
font-size: 1.5rem;
}
.reauth-icon {
font-size: 2.5rem;
}
}
</style>
</head>
<body>
<div class="email-container">
<!-- Header -->
<div class="email-header">
<div class="logo">🥷 NINJACROSS</div>
<div class="tagline">Die ultimative Timer-Rangliste</div>
</div>
<!-- Main Content -->
<div class="email-content">
<h1 class="reauth-title">Erneute Authentifizierung erforderlich 🔒</h1>
<p class="reauth-message">
Für diese Aktion ist eine erneute Authentifizierung erforderlich.
Klicke auf den Button unten, um deine Identität zu bestätigen.
</p>
<div class="reauth-info">
<span class="reauth-icon">🛡️</span>
<div class="reauth-description">
Diese zusätzliche Sicherheitsmaßnahme schützt dein Konto
</div>
</div>
<!-- Token Section -->
<div class="token-section">
<h2 style="color: #e2e8f0; text-align: center; margin-bottom: 1rem; font-size: 1.25rem;">Bestätigungscode</h2>
<div class="token-display">
<p style="color: #cbd5e1; text-align: center; margin-bottom: 0.5rem;">Gib diesen Code ein:</p>
<div class="token-code">{{ .Token }}</div>
</div>
</div>
<a href="{{ .ConfirmationURL }}" class="cta-button">
🔐 Identität bestätigen
</a>
<div class="security-info">
<div class="security-title">🔒 Warum ist das nötig?</div>
<div class="security-text">
Bestimmte Aktionen wie das Ändern sensibler Daten oder das Zugreifen auf
administrative Funktionen erfordern eine erneute Authentifizierung,
um die Sicherheit deines Kontos zu gewährleisten.
</div>
</div>
<div class="warning-info">
<div class="warning-title">⏰ Zeitlimit</div>
<div class="warning-text">
Dieser Link verfällt nach 15 Minuten. Falls du diese Aktion nicht
angefordert hast, kannst du diese E-Mail ignorieren.
</div>
</div>
</div>
<!-- Footer -->
<div class="email-footer">
<p>
Falls du diese Aktion nicht angefordert hast, kannst du diese E-Mail ignorieren.
</p>
<div class="footer-links">
<a href="{{ .SiteURL }}">Zur Website</a>
<a href="{{ .SiteURL }}/support">Support</a>
<a href="{{ .SiteURL }}/privacy">Datenschutz</a>
</div>
<p style="margin-top: 1.5rem; font-size: 0.75rem; color: #64748b;">
© 2024 NinjaCross. Alle Rechte vorbehalten.
</p>
</div>
</div>
</body>
</html>