Files
lincodex/backend/internal/usecase/notification/mailtemplate/testdata/notification.v2.html.golden
T

45 lines
3.8 KiB
Plaintext

<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="color-scheme" content="light">
<title>Приглашение &lt;script&gt;alert(&#34;x&#34;)&lt;/script&gt; &amp; &#39;кавычки&#39; X-Injected: yes</title>
</head>
<body style="margin:0;padding:0;background-color:#1b1c21;">
<div style="display:none;max-height:0;line-height:0;font-size:0;opacity:0;overflow:hidden;mso-hide:all;">Уведомление в личном кабинете Lincodex.</div>
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" style="background-color:#1b1c21;">
<tr>
<td align="center" style="padding:24px 16px;">
<table role="presentation" width="560" cellpadding="0" cellspacing="0" border="0" style="width:100%;max-width:560px;">
<tr>
<td style="background-color:#202129;border-radius:16px 16px 0 0;padding:24px 32px;font-family:Unbounded,'Arial Black','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:22px;line-height:28px;font-weight:700;color:#ffffff;white-space:nowrap;"><span style="letter-spacing:-0.02em;">Lincodex</span><span style="display:inline-block;width:6px;height:16px;margin-left:6px;background-color:#402fff;"></span></td>
</tr>
<tr>
<td style="background-color:#ffffff;border-radius:0 0 16px 16px;padding:32px 32px 28px;font-family:Inter,'Segoe UI',-apple-system,BlinkMacSystemFont,Roboto,'Helvetica Neue',Arial,sans-serif;font-size:16px;line-height:24px;color:#1b1c21;">
<p style="margin:0 0 8px;font-family:ui-monospace,'JetBrains Mono',Menlo,Consolas,monospace;font-size:12px;line-height:16px;letter-spacing:0.08em;color:#4a4c55;">УВЕДОМЛЕНИЕ</p>
<h1 style="margin:0 0 16px;font-family:ui-monospace,'JetBrains Mono',Menlo,Consolas,monospace;font-size:24px;line-height:32px;font-weight:700;color:#1b1c21;">Приглашение &lt;script&gt;alert(&#34;x&#34;)&lt;/script&gt; &amp; &#39;кавычки&#39; X-Injected: yes</h1>
<p style="margin:0 0 16px;color:#1b1c21;">Компания &#34;Тест &amp; Ко&#34; &lt;b&gt;пригласила&lt;/b&gt; вас.<br>Вторая строкареверс</p>
<p style="margin:0 0 16px;color:#1b1c21;">Второй абзац: ёжик 🚀 &lt;img src=x onerror=alert(1)&gt;</p>
<table role="presentation" cellpadding="0" cellspacing="0" border="0" style="margin:8px 0 24px;">
<tr>
<td align="center" bgcolor="#402fff" style="background-color:#402fff;border-radius:999px;padding:14px 28px;"><a href="https://lincodex.example/candidate/invitations" style="display:inline-block;font-family:Inter,'Segoe UI',-apple-system,BlinkMacSystemFont,Roboto,'Helvetica Neue',Arial,sans-serif;font-size:16px;line-height:20px;font-weight:700;color:#ffffff;text-decoration:none;">Открыть личный кабинет</a></td>
</tr>
</table>
<p style="margin:0 0 8px;font-size:14px;line-height:22px;color:#4a4c55;">Если кнопка не работает, скопируйте ссылку в адресную строку браузера:</p>
<p style="margin:0;font-size:14px;line-height:22px;word-break:break-all;"><a href="https://lincodex.example/candidate/invitations" style="color:#402fff;text-decoration:underline;">https://lincodex.example/candidate/invitations</a></p>
</td>
</tr>
<tr>
<td style="padding:20px 32px 0;font-family:Inter,'Segoe UI',-apple-system,BlinkMacSystemFont,Roboto,'Helvetica Neue',Arial,sans-serif;font-size:12px;line-height:18px;color:#9b9c9e;">
<p style="margin:0 0 8px;">Вы получили это письмо, потому что в Lincodex пришло уведомление на ваш подтвержденный адрес.</p>
<p style="margin:0;">Lincodex. Письмо отправлено автоматически, отвечать на него не нужно.</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>