diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 11fa1f8e..3d1900bb 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -54,7 +54,6 @@ export default function RootLayout({ s0.parentNode.insertBefore(s1,s0); })();`} -
diff --git a/src/mail.ts b/src/mail.ts index fd656d6d..9f2151c6 100644 --- a/src/mail.ts +++ b/src/mail.ts @@ -10,43 +10,40 @@ import { SESClient, SendEmailCommand } from '@aws-sdk/client-ses' */ function setHtml(path: string, userEmail: string, type: "signin"|"forgot") { const html = ` - - - - - -
-

반갑습니다. ${userEmail} 님! Wise Sayings 에서 보냈습니다.

-
-

보안!) 본인이 인증 요청을 하지 않았음에도 해당 이메일 주소로 해당 메일이나 개인정보를 요구하는 메일이 전송되었다면, 응답하지 마시고 qodna25@gmail.com 으로 신고해주세요.

-
-

해당 인증은 ${new Date().toLocaleTimeString()} 부터 7분 동안 유효합니다.

-
- ${type === 'signin' ? `

${path}

` : `

[비밀번호 재설정 페이지] 비밀번호 재설정 페이지로 이동하기

`} - - -
- - + + + + + Wise Sayings 인증 이메일 + + +
+
+

Wise Sayings

+
+
+

반갑습니다, ${userEmail} 님!

+ +
+

보안 주의사항

+

본인이 인증 요청을 하지 않았음에도 해당 이메일 주소로 개인정보를 요구하는 메일이 전송되었다면, 응답하지 마시고 qodna25@gmail.com으로 신고해주세요.

+
+ +

인증 유효 시간

+

해당 인증은 ${new Date().toLocaleTimeString()} 부터 7분 동안 유효합니다.

+ + ${type === 'signin' + ? `

${path}

` + : `

비밀번호 재설정

+ 비밀번호 재설정 페이지로 이동` + } +
+
+ © 2024 Wise Sayings. All rights reserved. +
+
+ + ` return html