email templating
This commit is contained in:
121
apps/backend/assets/ejs-templates/mail/account-created.ejs
Normal file
121
apps/backend/assets/ejs-templates/mail/account-created.ejs
Normal file
@@ -0,0 +1,121 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title><%= title %></title>
|
||||
<style>
|
||||
/* General body styling for all clients */
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
background-color: #f4f4f4;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
-ms-text-size-adjust: 100%;
|
||||
}
|
||||
/* Container for the email content */
|
||||
.container {
|
||||
width: 100%;
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
background-color: #ffffff;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
/* Header section */
|
||||
.header {
|
||||
background-color: #007bff;
|
||||
color: #ffffff;
|
||||
text-align: center;
|
||||
padding: 20px;
|
||||
}
|
||||
/* Main content section */
|
||||
.content {
|
||||
padding: 20px;
|
||||
}
|
||||
/* Button styling */
|
||||
.button {
|
||||
display: inline-block;
|
||||
background-color: #007bff;
|
||||
color: #ffffff;
|
||||
padding: 10px 20px;
|
||||
border-radius: 5px;
|
||||
text-decoration: none;
|
||||
}
|
||||
/* List items styling */
|
||||
.feature-item {
|
||||
padding: 5px 0;
|
||||
color: #555555;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body style="background-color: #f4f4f4">
|
||||
<table
|
||||
class="container"
|
||||
role="presentation"
|
||||
cellspacing="0"
|
||||
cellpadding="0"
|
||||
border="0"
|
||||
>
|
||||
<tr>
|
||||
<td
|
||||
class="header"
|
||||
style="
|
||||
background-color: #007bff;
|
||||
color: #ffffff;
|
||||
text-align: center;
|
||||
padding: 20px;
|
||||
"
|
||||
>
|
||||
<h1 style="margin: 0"><%= bodyTitle %></h1>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="content" style="padding: 20px">
|
||||
<p>
|
||||
Thank you for signing up for our service. We're excited to have you
|
||||
on board!
|
||||
</p>
|
||||
|
||||
<p>Here are some of the key features you can now enjoy:</p>
|
||||
|
||||
<p style="text-align: center; margin: 30px 0">
|
||||
<a
|
||||
href="https://google.com"
|
||||
class="button"
|
||||
style="
|
||||
display: inline-block;
|
||||
background-color: #007bff;
|
||||
color: #ffffff;
|
||||
padding: 10px 20px;
|
||||
border-radius: 5px;
|
||||
text-decoration: none;
|
||||
"
|
||||
>
|
||||
Get Started
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
If you have any questions, feel free to reply to this email or visit
|
||||
our
|
||||
<a href="http://goolge.com" style="color: #007bff">support center</a
|
||||
>.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td
|
||||
style="
|
||||
text-align: center;
|
||||
padding: 20px;
|
||||
font-size: 12px;
|
||||
color: #888888;
|
||||
"
|
||||
>
|
||||
<p>© <%= currentYear %> Cowsi. All rights reserved.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"mail.create-user.title": "Welcome to Cowsi",
|
||||
"mail.create-user.body-html": "<h1>Welcome to Cowsi<h1>"
|
||||
"mail.create-user.title": "Welcome to Cowsi!",
|
||||
"mail.create-user.body-title": "Welcome to Cowsi {{name}}!"
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"mail.create-user.title": "Bienvenue sur Cowsi",
|
||||
"mail.create-user.body-html": "<h1>Bienvenue sur Cowsi<h1>"
|
||||
"mail.create-user.title": "Bienvenue sur Cowsi!",
|
||||
"mail.create-user.body-title": "Bienvenue sur Cowsi {{name}}!"
|
||||
}
|
||||
Reference in New Issue
Block a user