@@ -165,3 +165,42 @@ export function createPasswordResetMailContent(
165165 </div>
166166` ;
167167}
168+
169+ export function createDeleteAccountContent (
170+ userName : string ,
171+ verificationLink : string ,
172+ serviceAddress : string ,
173+ ) {
174+ return `
175+ <div style="font-family: 'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif; margin: 0; padding: 1px; background-color: #f4f4f4;">
176+ <div style="max-width: 600px; margin: 20px auto; background-color: #ffffff; padding: 20px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
177+ <div style="text-align: center; padding: 20px 0; border-bottom: 2px solid #f0f0f0;">
178+ <img src="https://denamu.site/files/Denamu_Logo_KOR.png" alt="Denamu Logo" width="244" height="120">
179+ </div>
180+ <div style="padding: 20px 0;">
181+ <div style="color: #dc3545; font-size: 24px; font-weight: bold; margin-bottom: 20px; text-align: center;">회원탈퇴 요청을 확인해주세요</div>
182+ <div style="background-color: #f8f9fa; padding: 15px; border-radius: 4px; margin: 15px 0;">
183+ <p><strong>안녕하세요, ${ userName } 님!</strong></p>
184+ <p>Denamu 서비스 회원탈퇴 요청이 접수되었습니다.</p>
185+ <p>정말 탈퇴하시려면 아래 버튼을 클릭하여 회원탈퇴를 완료해 주세요.</p>
186+ <p style="color: #dc3545; font-weight: bold; margin-top: 15px;">⚠️ 탈퇴 시 모든 개인정보와 활동 내역을 복구할 수 없습니다.</p>
187+ </div>
188+ <center>
189+ <a href="${ verificationLink } " style="display: inline-block; padding: 12px 24px; background-color: #dc3545; color: #ffffff; text-decoration: none; border-radius: 4px; margin: 20px 0; font-weight: bold;">회원탈퇴 확인</a>
190+ </center>
191+ <div style="font-size: 14px; color: #6c757d; margin-top: 20px; text-align: center;">
192+ <p>버튼이 작동하지 않는 경우, 아래 링크를 복사하여 브라우저에 붙여넣기 해주세요:</p>
193+ <p style="word-break: break-all; background-color: #f8f9fa; padding: 10px; border-radius: 4px;">${ verificationLink } </p>
194+ <p>이 링크는 10분 동안 유효합니다.</p>
195+ <p style="margin-top: 15px;">본인이 요청하지 않은 경우, 이 메일을 무시하시기 바랍니다.</p>
196+ </div>
197+ </div>
198+ </div>
199+ <div style="display: flex; flex-direction: column; justify-content: center; align-items: center; border-top: 2px solid #f0f0f0; color: #6c757d; font-size: 14px; height: 100px;">
200+ <p>본 메일은 발신전용입니다.</p>
201+ <p>문의사항이 있으시다면 ${ serviceAddress } 로 연락주세요.</p>
202+ </div>
203+ </div>
204+ </div>
205+ ` ;
206+ }
0 commit comments