summaryrefslogtreecommitdiff
path: root/lib/mail/templates/otp.hbs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mail/templates/otp.hbs')
-rw-r--r--lib/mail/templates/otp.hbs77
1 files changed, 77 insertions, 0 deletions
diff --git a/lib/mail/templates/otp.hbs b/lib/mail/templates/otp.hbs
new file mode 100644
index 00000000..adeda416
--- /dev/null
+++ b/lib/mail/templates/otp.hbs
@@ -0,0 +1,77 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
+ <title>{{subject}}</title>
+ <style>
+ body {
+ font-family: Arial, sans-serif;
+ background: #f9fafb;
+ color: #111827;
+ padding: 20px;
+ }
+ .container {
+ max-width: 480px;
+ margin: 0 auto;
+ background: #ffffff;
+ border: 1px solid #e5e7eb;
+ border-radius: 6px;
+ padding: 24px;
+ }
+ h1 {
+ font-size: 20px;
+ margin-bottom: 8px;
+ color: #111827;
+ }
+ p {
+ line-height: 1.5;
+ margin-bottom: 16px;
+ }
+ .code {
+ display: inline-block;
+ font-size: 24px;
+ font-weight: bold;
+ letter-spacing: 2px;
+ margin: 12px 0;
+ background: #f3f4f6;
+ padding: 8px 16px;
+ border-radius: 4px;
+ }
+ a {
+ color: #3b82f6;
+ text-decoration: none;
+ }
+ .footer {
+ font-size: 12px;
+ color: #6b7280;
+ margin-top: 24px;
+ }
+ </style>
+ </head>
+ <body>
+ <div class="container">
+ <h1>{{t "verifyYourEmailTitle"}}</h1>
+ <p>{{t "greeting"}}, {{name}}</p>
+
+ <p>
+ {{t "receivedSignInAttempt" location=location}}
+ </p>
+
+ <p>
+ {{t "enterCodeInstruction"}}
+ </p>
+
+ <p class="code">{{otp}}</p>
+
+ <p>
+ <a href="{{verificationUrl}}">{{verificationUrl}}</a>
+ </p>
+
+
+ <div class="footer">
+ {{t "securityWarning"}}
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file