Added Email for Supabase
This commit is contained in:
301
public/email-templates/reset-password-optimized.html
Normal file
301
public/email-templates/reset-password-optimized.html
Normal file
@@ -0,0 +1,301 @@
|
||||
<!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>
|
||||
<!--[if mso]>
|
||||
<noscript>
|
||||
<xml>
|
||||
<o:OfficeDocumentSettings>
|
||||
<o:PixelsPerInch>96</o:PixelsPerInch>
|
||||
</o:OfficeDocumentSettings>
|
||||
</xml>
|
||||
</noscript>
|
||||
<![endif]-->
|
||||
<style type="text/css">
|
||||
/* Reset styles for email clients */
|
||||
body, table, td, p, a, li, blockquote {
|
||||
-webkit-text-size-adjust: 100%;
|
||||
-ms-text-size-adjust: 100%;
|
||||
}
|
||||
table, td {
|
||||
mso-table-lspace: 0pt;
|
||||
mso-table-rspace: 0pt;
|
||||
}
|
||||
img {
|
||||
-ms-interpolation-mode: bicubic;
|
||||
border: 0;
|
||||
height: auto;
|
||||
line-height: 100%;
|
||||
outline: none;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* Main styles */
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
background-color: #0a0a0f;
|
||||
color: #ffffff;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.email-wrapper {
|
||||
width: 100%;
|
||||
background-color: #0a0a0f;
|
||||
padding: 20px 0;
|
||||
}
|
||||
|
||||
.email-container {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
background-color: #1e293b;
|
||||
border: 2px solid #334155;
|
||||
}
|
||||
|
||||
.email-header {
|
||||
background-color: #00d4ff;
|
||||
padding: 30px 20px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.logo {
|
||||
font-size: 28px;
|
||||
font-weight: bold;
|
||||
color: #ffffff;
|
||||
margin: 0 0 5px 0;
|
||||
}
|
||||
|
||||
.tagline {
|
||||
color: #e2e8f0;
|
||||
font-size: 14px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.email-content {
|
||||
padding: 30px 20px;
|
||||
background-color: #1e293b;
|
||||
}
|
||||
|
||||
.reset-title {
|
||||
font-size: 24px;
|
||||
font-weight: bold;
|
||||
color: #ffffff;
|
||||
text-align: center;
|
||||
margin: 0 0 20px 0;
|
||||
}
|
||||
|
||||
.reset-message {
|
||||
color: #cbd5e1;
|
||||
font-size: 16px;
|
||||
text-align: center;
|
||||
margin: 0 0 30px 0;
|
||||
}
|
||||
|
||||
.reset-info {
|
||||
background-color: #334155;
|
||||
border: 1px solid #475569;
|
||||
padding: 20px;
|
||||
margin: 0 0 30px 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.reset-icon {
|
||||
font-size: 40px;
|
||||
margin: 0 0 10px 0;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.reset-description {
|
||||
color: #94a3b8;
|
||||
font-size: 14px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.cta-button {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 300px;
|
||||
margin: 0 auto 30px;
|
||||
padding: 15px 30px;
|
||||
background-color: #00d4ff;
|
||||
color: #ffffff;
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
font-size: 16px;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.cta-button:hover {
|
||||
background-color: #0891b2;
|
||||
}
|
||||
|
||||
.security-tips {
|
||||
background-color: #22c55e;
|
||||
border: 1px solid #16a34a;
|
||||
padding: 20px;
|
||||
margin: 30px 0 0 0;
|
||||
}
|
||||
|
||||
.security-title {
|
||||
color: #ffffff;
|
||||
font-weight: bold;
|
||||
font-size: 16px;
|
||||
margin: 0 0 15px 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.security-list {
|
||||
color: #ffffff;
|
||||
font-size: 14px;
|
||||
line-height: 1.8;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.security-list li {
|
||||
margin: 0 0 8px 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.warning-info {
|
||||
background-color: #ef4444;
|
||||
border: 1px solid #dc2626;
|
||||
padding: 15px;
|
||||
margin: 20px 0 0 0;
|
||||
}
|
||||
|
||||
.warning-title {
|
||||
color: #ffffff;
|
||||
font-weight: bold;
|
||||
font-size: 14px;
|
||||
margin: 0 0 8px 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.warning-text {
|
||||
color: #ffffff;
|
||||
font-size: 13px;
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.email-footer {
|
||||
background-color: #0f172a;
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
color: #64748b;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.footer a {
|
||||
color: #00d4ff;
|
||||
text-decoration: none;
|
||||
margin: 0 10px;
|
||||
}
|
||||
|
||||
.footer a:hover {
|
||||
color: #0891b2;
|
||||
}
|
||||
|
||||
/* Mobile styles */
|
||||
@media only screen and (max-width: 600px) {
|
||||
.email-wrapper {
|
||||
padding: 10px 0;
|
||||
}
|
||||
|
||||
.email-container {
|
||||
margin: 0 10px;
|
||||
}
|
||||
|
||||
.email-content {
|
||||
padding: 20px 15px;
|
||||
}
|
||||
|
||||
.logo {
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.reset-title {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.cta-button {
|
||||
padding: 12px 20px;
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="email-wrapper">
|
||||
<div class="email-container">
|
||||
<!-- Header -->
|
||||
<div class="email-header">
|
||||
<div class="logo">🥷 NINJACROSS</div>
|
||||
<div class="tagline">Die ultimative Timer-Rangliste</div>
|
||||
</div>
|
||||
|
||||
<!-- 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>
|
||||
|
||||
<p style="margin-top: 15px;">
|
||||
<a href="https://ninja.reptilfpv.de:3000">Zur Website</a>
|
||||
<a href="https://ninja.reptilfpv.de:3000/support">Support</a>
|
||||
<a href="https://ninja.reptilfpv.de:3000/privacy">Datenschutz</a>
|
||||
</p>
|
||||
|
||||
<p style="margin-top: 15px;">
|
||||
© 2024 NinjaCross. Alle Rechte vorbehalten.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user