Added Email for Supabase
This commit is contained in:
294
public/email-templates/reset-password.html
Normal file
294
public/email-templates/reset-password.html
Normal file
@@ -0,0 +1,294 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Passwort zurücksetzen - 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);
|
||||
}
|
||||
|
||||
.reset-title {
|
||||
font-size: 1.75rem;
|
||||
font-weight: 600;
|
||||
color: #e2e8f0;
|
||||
text-align: center;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.reset-message {
|
||||
color: #cbd5e1;
|
||||
font-size: 1rem;
|
||||
margin-bottom: 2rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.reset-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;
|
||||
}
|
||||
|
||||
.reset-icon {
|
||||
font-size: 3rem;
|
||||
margin-bottom: 1rem;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.reset-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-tips {
|
||||
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-list {
|
||||
color: #86efac;
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
.security-list li {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.warning-info {
|
||||
background: rgba(239, 68, 68, 0.1);
|
||||
border: 1px solid rgba(239, 68, 68, 0.3);
|
||||
border-radius: 0.75rem;
|
||||
padding: 1rem;
|
||||
margin-top: 1.5rem;
|
||||
}
|
||||
|
||||
.warning-title {
|
||||
color: #ef4444;
|
||||
font-weight: 600;
|
||||
font-size: 0.9rem;
|
||||
margin-bottom: 0.5rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.warning-text {
|
||||
color: #fca5a5;
|
||||
font-size: 0.85rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
.reset-title {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.reset-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="reset-title">Passwort zurücksetzen 🔐</h1>
|
||||
|
||||
<p class="reset-message">
|
||||
Du hast eine Anfrage zum Zurücksetzen deines Passworts gestellt.
|
||||
Klicke auf den Button unten, um ein neues Passwort zu erstellen.
|
||||
</p>
|
||||
|
||||
<div class="reset-info">
|
||||
<span class="reset-icon">🔑</span>
|
||||
<div class="reset-description">
|
||||
Dieser Link ist sicher und führt dich zur Passwort-Reset-Seite
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<a href="{{ .ConfirmationURL }}" class="cta-button">
|
||||
🔄 Passwort zurücksetzen
|
||||
</a>
|
||||
|
||||
<div class="security-tips">
|
||||
<div class="security-title">🛡️ Tipps für ein sicheres Passwort:</div>
|
||||
<ul class="security-list">
|
||||
<li>• Verwende mindestens 8 Zeichen</li>
|
||||
<li>• Kombiniere Groß- und Kleinbuchstaben</li>
|
||||
<li>• Füge Zahlen und Sonderzeichen hinzu</li>
|
||||
<li>• Verwende keine persönlichen Informationen</li>
|
||||
<li>• Nutze ein einzigartiges Passwort nur für NinjaCross</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="warning-info">
|
||||
<div class="warning-title">⚠️ Sicherheitshinweis</div>
|
||||
<div class="warning-text">
|
||||
Dieser Link verfällt nach 24 Stunden. Falls du diese Anfrage nicht gestellt hast,
|
||||
kannst du diese E-Mail ignorieren.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Footer -->
|
||||
<div class="email-footer">
|
||||
<p>
|
||||
Falls du diese Anfrage nicht gestellt 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>
|
||||
Reference in New Issue
Block a user