chore: initial commit

This commit is contained in:
Divlo
2021-10-24 04:06:16 +02:00
commit 714cc643ba
260 changed files with 40783 additions and 0 deletions

148
email/email-template.ejs Normal file
View File

@ -0,0 +1,148 @@
<center>
<table
border="0"
cellpadding="20"
cellspacing="0"
height="100%"
width="100%"
style="background-color: <%= theme.backgroundPrimary %>"
>
<tbody>
<tr>
<td align="center" valign="top">
<table
border="0"
cellpadding="0"
cellspacing="0"
width="100%"
style="max-width: 600px; border-radius: 6px"
>
<tbody>
<tr>
<td align="center" valign="top">
<table
border="0"
cellpadding="0"
cellspacing="0"
width="100%"
style="max-width: 600px"
>
<tbody>
<tr>
<td>
<h1
style="
font-family: Poppins, Arial, Helvetica, sans-serif;
color: <%= theme.colorSecondary %>;
font-size: 28px;
line-height: 110%;
margin-bottom: 30px;
margin-top: 0;
padding: 0;
"
>
Thream
</h1>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td align="center" valign="top">
<table
border="0"
cellpadding="0"
cellspacing="0"
width="100%"
style="max-width: 600px; border-radius: 6px"
>
<tbody>
<tr>
<td
align="left"
valign="top"
style="
line-height: 150%;
font-family: Helvetica;
font-size: 14px;
color: rgb(222, 222, 222);
padding: 30px;
box-shadow: 0px 0px 6px 6px rgba(0, 0, 0, 0.25);
border: 1px solid black;
border-radius: 1rem;
"
>
<h2
style="
font-size: 22px;
line-height: 28px;
margin: 0 0 12px 0;
color: <%= theme.colorSecondary %>;
"
>
<%= text.subtitle %>
</h2>
<a
href="<%= text.url %>"
style="
display: inline-block;
font-weight: 500;
font-size: 16px;
line-height: 42px;
font-family: 'Helvetica', Arial, sans-serif;
width: auto;
white-space: nowrap;
height: 42px;
margin: 12px 5px 12px 0;
padding: 0 22px;
text-decoration: none;
text-align: center;
border: 0;
border-radius: 3px;
vertical-align: top;
background-color: <%= theme.backgroundPrimary %>;
border: 1px solid <%= theme.colorPrimary %>;
"
target="_blank"
rel="noopener noreferrer"
><span
style="
display: inline;
font-family: 'Helvetica', Arial, sans-serif;
text-decoration: none;
font-weight: 500;
font-style: normal;
font-size: 16px;
line-height: 42px;
border: none;
color: <%= theme.colorPrimary %>;
"
><%= text.button %></span
></a
>
<br />
<div>
<p
style="
padding: 0 0 10px 0;
color: <%= theme.colorSecondary %>;
"
>
<%= text.footer %>
</p>
</div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</center>

View File

@ -0,0 +1,8 @@
{
"subject": "Confirm email",
"renderOptions": {
"subtitle": "Please confirm your email to signin",
"button": "Yes, I confirm",
"footer": "If you received this message by mistake, just delete it. Your email will not be confirmed if you do not click on the confirmation link above."
}
}

View File

@ -0,0 +1,8 @@
{
"subject": "Reset password",
"renderOptions": {
"subtitle": "Please confirm password reset",
"button": "Yes, I change my password",
"footer": "If you received this message by mistake, just delete it. Your password will not be reset if you do not click on the link above. Also, for the security of your account, the password reset is available for a period of 1 hour, after this time, the reset will no longer be possible."
}
}

View File

@ -0,0 +1,8 @@
{
"subject": "Confirmez votre email",
"renderOptions": {
"subtitle": "Veuillez confirmer votre adresse email pour vous connecter",
"button": "Oui, je confirme",
"footer": "Si vous avez reçu ce message par erreur, supprimez-le simplement. Votre email ne sera pas confirmé si vous ne cliquez pas sur le lien de confirmation ci-dessus."
}
}

View File

@ -0,0 +1,8 @@
{
"subject": "Réinitialiser le mot de passe",
"renderOptions": {
"subtitle": "Veuillez confirmer la réinitialisation du mot de passe",
"button": "Oui, je change mon mot de passe",
"footer": "Si vous avez reçu ce message par erreur, supprimez-le simplement. Votre mot de passe ne sera pas réinitialisé si vous ne cliquez pas sur le lien ci-dessus. Aussi, pour la sécurité de votre compte, la réinitialisation du mot de passe est disponible pour une durée de 1 heure, après ce temps, la réinitialisation ne sera plus possible."
}
}