mirror of
https://github.com/ryankazokas/turbovault-app.git
synced 2026-04-17 00:32:53 +00:00
85 lines
2.4 KiB
Plaintext
85 lines
2.4 KiB
Plaintext
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
|
|
<style>
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
line-height: 1.6;
|
|
color: #333;
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
}
|
|
.header {
|
|
background-color: #4F46E5;
|
|
color: white;
|
|
padding: 20px;
|
|
text-align: center;
|
|
border-radius: 8px 8px 0 0;
|
|
}
|
|
.content {
|
|
background-color: #f9fafb;
|
|
padding: 30px;
|
|
border: 1px solid #e5e7eb;
|
|
}
|
|
.button {
|
|
display: inline-block;
|
|
background-color: #4F46E5;
|
|
color: white;
|
|
padding: 12px 24px;
|
|
text-decoration: none;
|
|
border-radius: 6px;
|
|
margin: 20px 0;
|
|
}
|
|
.footer {
|
|
margin-top: 30px;
|
|
padding-top: 20px;
|
|
border-top: 1px solid #e5e7eb;
|
|
font-size: 12px;
|
|
color: #6b7280;
|
|
text-align: center;
|
|
}
|
|
.warning {
|
|
background-color: #fef3c7;
|
|
border-left: 4px solid #f59e0b;
|
|
padding: 12px;
|
|
margin: 20px 0;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="header">
|
|
<h1>🎮 TurboVault</h1>
|
|
</div>
|
|
|
|
<div class="content">
|
|
<h2>Password Reset Request</h2>
|
|
|
|
<p>Hi <%= @user.username %>,</p>
|
|
|
|
<p>We received a request to reset your password. Click the button below to create a new password:</p>
|
|
|
|
<div style="text-align: center;">
|
|
<a href="<%= @reset_url %>" class="button">Reset My Password</a>
|
|
</div>
|
|
|
|
<p>Or copy and paste this URL into your browser:</p>
|
|
<p style="word-break: break-all; background: white; padding: 10px; border: 1px solid #e5e7eb; border-radius: 4px;">
|
|
<%= @reset_url %>
|
|
</p>
|
|
|
|
<div class="warning">
|
|
<strong>⚠️ Security Note:</strong> This password reset link will expire in 2 hours for security reasons.
|
|
</div>
|
|
|
|
<p>If you didn't request a password reset, you can safely ignore this email. Your password will remain unchanged.</p>
|
|
</div>
|
|
|
|
<div class="footer">
|
|
<p>This email was sent to <%= @user.email %></p>
|
|
<p>© <%= Time.current.year %> TurboVault - Your Game Collection Manager</p>
|
|
</div>
|
|
</body>
|
|
</html>
|