Files
SerpentRace/SerpentRace_Backend/src/Templates/verification.html
T
2025-10-25 01:33:21 +02:00

205 lines
6.4 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SerpentRace - Verify Your Account</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
line-height: 1.6;
color: #333;
max-width: 600px;
margin: 0 auto;
padding: 20px;
background-color: #f5f5f5;
}
.email-container {
background-color: #ffffff;
padding: 40px;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.header {
text-align: center;
margin-bottom: 10px;
padding-bottom: 20px;
}
.header table {
margin: 0 auto;
}
.header img {
width: 60px;
height: 60px;
display: block;
vertical-align: middle;
}
.logo {
font-size: 28px;
font-weight: bold;
color: #2E7D32;
vertical-align: middle;
padding-left: 10px;
}
.subtitle {
color: #666;
font-size: 16px;
text-align: center;
margin-bottom: 30px;
padding-bottom: 20px;
border-bottom: 2px solid #4CAF50;
}
.content {
margin-bottom: 30px;
}
.greeting {
font-size: 18px;
margin-bottom: 20px;
color: #2E7D32;
}
.message {
font-size: 16px;
margin-bottom: 25px;
line-height: 1.8;
}
.verification-button {
display: inline-block;
background-color: #4CAF50;
color: white !important;
padding: 15px 30px;
text-decoration: none;
border-radius: 5px;
font-weight: bold;
font-size: 16px;
margin: 20px 0;
transition: background-color 0.3s;
}
.verification-button:hover {
background-color: #45a049;
}
.button-container {
text-align: center;
margin: 30px 0;
}
.alternative-link {
background-color: #f9f9f9;
padding: 15px;
border-radius: 5px;
margin: 20px 0;
border-left: 4px solid #4CAF50;
}
.alternative-link p {
margin: 5px 0;
font-size: 14px;
}
.token-display {
background-color: #f0f0f0;
padding: 10px;
border-radius: 4px;
font-family: monospace;
font-size: 14px;
word-break: break-all;
margin: 10px 0;
}
.footer {
margin-top: 40px;
padding-top: 20px;
border-top: 1px solid #eee;
font-size: 14px;
color: #666;
text-align: center;
}
.warning {
background-color: #fff3cd;
border: 1px solid #ffeaa7;
color: #856404;
padding: 15px;
border-radius: 5px;
margin: 20px 0;
}
.support-info {
background-color: #e3f2fd;
padding: 15px;
border-radius: 5px;
margin: 20px 0;
}
</style>
</head>
<body>
<div class="email-container">
<div class="header">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td><img src="cid:logo@serpentrace" alt="Logo"/></td>
<td class="logo">SerpentRace</td>
</tr>
</table>
</div>
<div class="subtitle">Account Verification</div>
<div class="content">
<div class="greeting">
Hello {{ userName }}! 👋
</div>
<div class="message">
Welcome to {{ companyName }}! We're excited to have you join our gaming community.
<br><br>
To complete your registration and start using your account, please verify your email address by clicking the button below:
</div>
<div class="button-container">
<a href="{{ verificationUrl }}" class="verification-button">
✅ Verify My Account
</a>
</div>
<div class="alternative-link">
<p><strong>Can't click the button?</strong> Copy and paste this link into your browser:</p>
<p style="word-break: break-all; color: #4CAF50;">{{ verificationUrl }}</p>
</div>
<div class="alternative-link">
<p><strong>Verification Token:</strong></p>
<div class="token-display">{{ verificationToken }}</div>
<p style="font-size: 12px; color: #666;">You can also use this token manually if needed.</p>
</div>
<div class="warning">
<strong>⚠️ Security Notice:</strong>
<br>
• This verification link will expire in 24 hours
• If you didn't create an account with {{ companyName }}, please ignore this email
• Never share your verification token with anyone
</div>
<div class="message">
Once verified, you'll be able to:
<br>
✨ Create and manage your game decks
<br>
🎮 Join gaming tournaments and competitions
<br>
👥 Connect with other players in your organization
<br>
📊 Track your gaming statistics and progress
</div>
</div>
<div class="support-info">
<p><strong>Need help?</strong></p>
<p>If you have any questions or encounter issues, please contact our support team at
<a href="mailto:{{ supportEmail }}" style="color: #4CAF50;">{{ supportEmail }}</a></p>
</div>
<div class="footer">
<p>This email was sent by {{ companyName }}</p>
<p>This is an automated message, please do not reply to this email.</p>
<p style="margin-top: 15px; font-size: 12px;">
© 2025 {{ companyName }}. All rights reserved.
</p>
</div>
</div>
</body>
</html>