diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-04-28 02:13:30 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-04-28 02:13:30 +0000 |
| commit | ef4c533ebacc2cdc97e518f30e9a9350004fcdfb (patch) | |
| tree | 345251a3ed0f4429716fa5edaa31024d8f4cb560 /lib/mail/templates/otp.hbs | |
| parent | 9ceed79cf32c896f8a998399bf1b296506b2cd4a (diff) | |
~20250428 작업사항
Diffstat (limited to 'lib/mail/templates/otp.hbs')
| -rw-r--r-- | lib/mail/templates/otp.hbs | 92 |
1 files changed, 21 insertions, 71 deletions
diff --git a/lib/mail/templates/otp.hbs b/lib/mail/templates/otp.hbs index adeda416..48df33f9 100644 --- a/lib/mail/templates/otp.hbs +++ b/lib/mail/templates/otp.hbs @@ -1,77 +1,27 @@ -<!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> +{{> header logoUrl=logoUrl }} - <p> - {{t "receivedSignInAttempt" location=location}} - </p> +<h1 style="font-size:28px; margin-bottom:20px; color:#111827;">{{t "verifyYourEmailTitle"}}</h1> - <p> - {{t "enterCodeInstruction"}} - </p> +<p style="font-size:16px; line-height:32px; margin-bottom:16px;">{{t "greeting"}}, {{name}}</p> - <p class="code">{{otp}}</p> +<p style="font-size:16px; line-height:32px; margin-bottom:16px;"> + {{t "receivedSignInAttempt" location=location}} +</p> - <p> - <a href="{{verificationUrl}}">{{verificationUrl}}</a> - </p> +<p style="font-size:16px; line-height:32px; margin-bottom:16px;"> + {{t "enterCodeInstruction"}} +</p> +<p style="font-size:24px; font-weight:bold; letter-spacing:2px; background-color:#f3f4f6; padding:8px 16px; border-radius:4px; display:inline-block; margin:12px 0;"> + {{otp}} +</p> - <div class="footer"> - {{t "securityWarning"}} - </div> - </div> - </body> -</html>
\ No newline at end of file +<p style="font-size:16px; line-height:24px; margin-bottom:16px;"> + <a href="{{verificationUrl}}" style="color:#0284C7; text-decoration:none;">{{verificationUrl}}</a> +</p> + +<p style="font-size:16px; color:#6b7280; margin-top:16px;"> + {{t "securityWarning"}} +</p> + +{{> footer logoUrl=logoUrl companyName=companyName year=year }}
\ No newline at end of file |
