File: //home/arjun/projects/good-life-be/public/templates/calenderGenerated.ejs
<!doctype html>
<html
lang="en"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
>
<head>
<meta charset="utf-8" />
<!-- utf-8 works for most cases -->
<meta name="viewport" content="width=device-width" />
<!-- Forcing initial-scale shouldn't be necessary -->
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<!-- Use the latest (edge) version of IE rendering engine -->
<meta name="x-apple-disable-message-reformatting" />
<!-- Disable auto-scale in iOS 10 Mail entirely -->
<meta
name="format-detection"
content="telephone=no,address=no,email=no,date=no,url=no"
/>
<!-- Tell iOS not to automatically link certain text strings. -->
<meta name="color-scheme" content="light" />
<meta name="supported-color-schemes" content="light" />
<title>Welcome</title>
<!-- The title tag shows in email notifications, like Android 4.4. -->
<!-- Web Font / @font-face : BEGIN -->
<link
href="https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap"
rel="stylesheet"
/>
<!-- CSS Reset : BEGIN -->
<style>
:root {
color-scheme: light;
supported-color-schemes: light;
}
html,
body {
margin: 0 auto !important;
padding: 0 !important;
height: 100% !important;
width: 100% !important;
}
* {
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
/* What it does: Centers email on Android 4.4 */
div[style*='margin: 16px 0'] {
margin: 0 !important;
}
/* What it does: forces Samsung Android mail clients to use the entire viewport */
#MessageViewBody,
#MessageWebViewDiv {
width: 100% !important;
}
/* What it does: Stops Outlook from adding extra spacing to tables. */
table,
td {
mso-table-lspace: 0pt !important;
mso-table-rspace: 0pt !important;
}
/* What it does: Fixes webkit padding issue. */
table {
border-spacing: 0 !important;
border-collapse: collapse !important;
table-layout: fixed !important;
margin: 0 auto !important;
}
/* What it does: Uses a better rendering method when resizing images in IE. */
img {
-ms-interpolation-mode: bicubic;
}
/* What it does: Prevents Windows 10 Mail from underlining links despite inline CSS. Styles for underlined links should be inline. */
a {
text-decoration: none;
}
/* What it does: A work-around for email clients meddling in triggered links. */
a[x-apple-data-detectors],
/* iOS */
.unstyle-auto-detected-links a,
.aBn {
border-bottom: 0 !important;
cursor: default !important;
color: inherit !important;
text-decoration: none !important;
font-size: inherit !important;
font-family: inherit !important;
font-weight: inherit !important;
line-height: inherit !important;
}
/* What it does: Prevents Gmail from changing the text color in conversation threads. */
.im {
color: inherit !important;
}
/* What it does: Prevents Gmail from displaying a download button on large, non-linked images. */
.a6S {
display: none !important;
opacity: 0.01 !important;
}
/* If the above doesn't work, add a .g-img class to any image in question. */
img.g-img + div {
display: none !important;
}
/* What it does: Removes right gutter in Gmail iOS app: https://github.com/TedGoas/Cerberus/issues/89 */
/* Create one of these media queries for each additional viewport size you'd like to fix */
/* iPhone 4, 4S, 5, 5S, 5C, and 5SE */
@media only screen and (min-device-width: 320px) and (max-device-width: 374px) {
u ~ div .email-container {
min-width: 320px !important;
}
}
/* iPhone 6, 6S, 7, 8, and X */
@media only screen and (min-device-width: 375px) and (max-device-width: 413px) {
u ~ div .email-container {
min-width: 375px !important;
}
}
/* iPhone 6+, 7+, and 8+ */
@media only screen and (min-device-width: 414px) {
u ~ div .email-container {
min-width: 414px !important;
}
}
</style>
<!-- CSS Reset : END -->
<!-- Progressive Enhancements : BEGIN -->
<style>
@media screen and (max-width: 579px) {
.name-block {
width: 100% !important;
margin-left: 0 !important;
}
.inner-td {
padding: 20px !important;
}
.mail-logo img {
max-width: 200px !important;
}
.msg-sec {
margin-bottom: 20px !important;
}
.btn-sec {
margin-bottom: 20px !important;
}
.welcome-txt {
margin-top: 20px !important;
margin-bottom: 20px !important;
}
.btn-sec a {
width: 80% !important;
}
}
/* Media Queries */
@media screen and (max-width: 480px) {
/* What it does: Forces table cells into full-width rows. */
.stack-column,
.stack-column-center {
display: block !important;
width: 100% !important;
max-width: 100% !important;
direction: ltr !important;
}
/* And center justify these ones. */
.stack-column-center {
text-align: center !important;
}
/* What it does: Generic utility class for centering. Useful for images, buttons, and nested tables. */
.center-on-narrow {
text-align: center !important;
display: block !important;
margin-left: auto !important;
margin-right: auto !important;
float: none !important;
}
table.center-on-narrow {
display: inline-block !important;
}
.msg-sec br {
display: none !important;
}
/* What it does: Adjust typography on small screens to improve readability */
}
</style>
</head>
<body
width="100%"
style="
margin: 0;
padding: 0 !important;
mso-line-height-rule: exactly;
background-color: #fff;
"
>
<center
role="article"
aria-roledescription="email"
lang="en"
style="width: 100%; background-color: #fff"
>
<div
style="
display: none;
font-size: 1px;
line-height: 1px;
max-height: 0px;
max-width: 0px;
opacity: 0;
overflow: hidden;
mso-hide: all;
font-family: 'Ubuntu', serif;
"
>
‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌
</div>
<div
style="
background: url(img/bg-mail.png);
background-repeat: repeat-x;
max-width: 800px;
margin: 0 auto;
font-family: 'Ubuntu', serif;
padding: 25px;
"
class="email-container"
>
<table
role="presentation"
cellspacing="0"
cellpadding="0"
border="0"
bgcolor=""
style="
width: 780px;
margin: 0px auto 0 !important;
font-family: 'Ubuntu', serif;
max-width: 100%;
"
>
<tr>
<td>
<table
role="presentation"
cellspacing="0"
cellpadding="0"
border="0"
bgcolor=""
width="100%"
style="margin: auto !important"
>
<tr>
<td
class="inner-td"
style="
background: #fff;
padding: 40px;
border-top: solid 5px transparent;
margin-bottom: 20px;
border-radius: 20px;
"
>
<div
class="mail-logo"
style="
padding: 0px 0px 10px;
text-align: left;
border-bottom: 1px solid #ededed;
padding: 0px 0px 10px;
margin-bottom: 20px;
"
>
<img
src="<%= baseurl %>/images/calendar-logo.png"
width=""
height="56"
alt="alt_text"
border="0"
/>
</div>
<h4
style="
font-family: 'Ubuntu', serif;
color: #292d32;
font-size: 20px;
font-weight: 600;
margin: 0 auto;
margin-bottom: 6px;
text-align: center;
"
>
Hi <%= name %> 👋
</h4>
<div
style="
display: block;
text-align: center;
padding-top: 15px;
"
>
<img src="<%= baseurl %>/images/contact.png" alt="" />
</div>
<p
class="welcome-txt"
style="
font-family: 'Ubuntu', serif;
color: #45545e;
font-size: 16px;
font-weight: 700;
margin-top: 30px;
margin-bottom: 30px;
text-align: center;
"
>
<!-- Hi <%= name %> 👋 -->
</p>
<p
class="msg-sec"
style="
font-family: 'Ubuntu', serif;
color: #697f9b;
font-size: 12px;
line-height: 21px;
font-weight: 300;
margin: 0 auto 60px;
max-width: 540px;
text-align: center;
"
>
Great news! Our Adaptive Optimization process has been
successfully completed, and your calendar is now fully
refined and ready to view. <br />You can now access all
features and explore your updated schedule with improved
precision and efficiency.
</p>
<p
class="btn-sec"
style="
display: block;
text-align: center;
margin-bottom: 50px;
"
>
<a
href="<%= feUrl %>"
style="
display: inline-block;
max-width: 314px;
width: 39%;
height: 17px;
border-radius: 28px;
padding: 11px 20px;
color: #fff;
background-color: #3a94d1;
text-align: center;
font-size: 14px;
line-height: 14px;
"
>👉 View My Calendar</a
>
</p>
<div
style="
display: block;
box-sizing: border-box;
max-width: 100%;
border-top: 1px solid #e6f2ff;
padding-top: 30px;
"
>
<div style="display: block; box-sizing: border-box">
<p
style="
margin-top: 0px;
margin-bottom: 0px;
font-family: 'Ubuntu', serif;
color: #292d32;
font-size: 13px;
line-height: 25px;
font-weight: 600;
"
>
If you have any questions or need assistance, feel
free to reach out.
</p>
<h4
style="
font-size: 13px;
line-height: 25px;
margin-top: 0;
margin-bottom: 27px;
color: #292d32;
font-weight: 600;
"
>
Balance Calendar
</h4>
<p
style="
font-family: 'Ubuntu', serif;
color: #697f9b;
font-size: 11px;
line-height: 18px;
font-weight: 300;
margin: 0 0 50px;
max-width: 551px;
"
>
DISCLAIMER: This email may contain privileged
information and is intended solely for the addressee,
and any disclosure of this information is strictly
prohibited, and may be unlawful. If you have received
this mail by mistake, please inform the sender
immediately and delete this mail. Any information
expressed in this mail does not necessarily reflect
the views of Balance Calendar
</p>
<p
style="
font-family: 'Ubuntu', serif;
text-align: center;
margin: 0;
"
>
<a
href="#"
style="display: inline-block; margin: 0 12px"
><img
src="<%= baseurl %>/images/fb.png"
alt="Up work"
/></a>
<a
href="#"
style="display: inline-block; margin: 0 12px"
><img
src="<%= baseurl %>/images/linkedin.png"
alt="Linked in"
/></a>
<a
href="#"
style="display: inline-block; margin: 0 12px"
><img
src="<%= baseurl %>/images/instagram.png"
alt="Linked in"
/></a>
</p>
</div>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
<tr>
<td></td>
</tr>
</div>
</center>
</body>
</html>