Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(users): email templates updated #4562

Merged
merged 24 commits into from
Jun 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
df7583d
chore: email templates updated
gitanjli525 May 6, 2024
4257e31
chore: formatting
gitanjli525 May 6, 2024
1424238
chore: dimensions update
gitanjli525 May 7, 2024
181abff
chore: removing tenants change
gitanjli525 May 7, 2024
24b344e
chore: run formatter
hyperswitch-bot[bot] May 7, 2024
5c45d58
chore: format types.rs
gitanjli525 May 7, 2024
b58512b
Merge branch 'email_t' of https://github.com/juspay/hyperswitch into …
gitanjli525 May 7, 2024
504787f
chore: removed redundant code
gitanjli525 May 7, 2024
600b3e2
chore: updated the css for ses compatibility
gitanjli525 May 7, 2024
70cf719
chore: minore css
gitanjli525 May 7, 2024
f9222f3
chore: updated links and alt for imges
gitanjli525 May 7, 2024
355640e
chore: updated linkedin image
gitanjli525 May 8, 2024
e8e6fd9
chore: updated logo and footer text
gitanjli525 May 8, 2024
6ac2880
chore: updated img dimension
gitanjli525 May 8, 2024
7452d89
chore: minor ui
gitanjli525 May 8, 2024
a3a7eab
Merge branch 'main' into email_t
gitanjli525 May 8, 2024
27f5849
Merge branch 'main' into email_t
gitanjli525 May 16, 2024
f0773ec
Merge branch 'main' into email_t
gitanjli525 May 17, 2024
6ac0d03
chore: minor ui update
gitanjli525 May 27, 2024
6a9b119
Merge branch 'email_t' of https://github.com/juspay/hyperswitch into …
gitanjli525 May 27, 2024
a93e6bb
chore: title update
gitanjli525 May 27, 2024
95a2c75
chore: minor text update
gitanjli525 May 27, 2024
a1482fa
Merge branch 'main' into email_t
gitanjli525 May 27, 2024
6a211b4
Merge branch 'main' into email_t
PritishBudhiraja Jun 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
305 changes: 163 additions & 142 deletions crates/router/src/services/email/assets/api_key_expiry_reminder.html
Original file line number Diff line number Diff line change
@@ -1,149 +1,170 @@
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>API Key Expiry Notice</title>
<body style="background-color: #ececec">
<style>
.apple-footer a {{
text-decoration: none !important;
color: #999 !important;
border: none !important;
}}
.apple-email a {{
text-decoration: none !important;
color: #448bff !important;
border: none !important;
}}
</style>
<div
id="wrapper"
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>API Key Expiry Notice</title>
</head>
<body
style="
background-color: none;
margin: 0 auto;
text-align: center;
width: 60%;
-premailer-height: 200;
background-color: #f8f9fb;
height: 100%;
font-family: Arial, Helvetica, sans-serif;
"
>
<table
align="center"
class="main-table"
<div
style="
-premailer-cellpadding: 0;
-premailer-cellspacing: 0;
background-color: #fff;
border: 0;
border-top: 5px solid #0165ef;
margin: 0 auto;
mso-table-lspace: 0;
mso-table-rspace: 0;
padding: 0 40;
text-align: center;
width: 100%;
margin: auto;
text-align: center;
background-color: #f8f9fb;
"
bgcolor="#ffffff"
cellpadding="0"
cellspacing="0"
>

<tr>
<td
class="spacer-lg"
style="
-premailer-height: 75;
-premailer-width: 100%;
line-height: 30px;
margin: 0 auto;
padding: 0;
"
height="25"
width="100%"
></td>
</tr>
<tr>
<td
class="spacer-lg"
style="
-premailer-height: 75;
-premailer-width: 100%;
line-height: 30px;
margin: 0 auto;
padding: 0;
"
height="50"
width="100%"
></td>
</tr>
<tr>
<td
class="headline"
style="
color: #444;
font-family: Roboto, Helvetica, Arial, san-serif;
font-size: 30px;
font-weight: 100;
line-height: 36px;
margin: 0 auto;
padding: 0;
text-align: left;
"
align="center"
>
<p style="font-size: 18px">Dear Merchant,</p>
<span style="font-size: 18px">
It has come to our attention that your API key, <b>{api_key_name}</b> (<code>{prefix}*****</code>) </code> will expire in {expires_in} days. To ensure uninterrupted
access to our platform and continued smooth operation of your services, we kindly request that you take the
necessary actions as soon as possible.
</span>
</td>
</tr>
<tr>
<td
class="spacer-sm"
style="
-premailer-height: 20;
-premailer-width: 80%;
line-height: 10px;
margin: 0 auto;
padding: 0;
"
height="20"
width="100%"
></td>
</tr>

<tr>
<td
class="headline"
style="
color: #444;
font-family: Roboto, Helvetica, Arial, san-serif;
font-size: 18px;
font-weight: 100;
line-height: 36px;
margin: 0 auto;
padding: 0;
text-align: left;
"
align="center"
>
Thanks,<br />
Team Hyperswitch
</td>
</tr>
<tr>
<td
class="spacer-lg"
style="
-premailer-height: 75;
-premailer-width: 100%;
line-height: 30px;
margin: 0 auto;
padding: 0;
"
height="75"
width="100%"
></td>
</tr>

</table>
</div>
</body>
<table style="text-align: center; width: 100%">
<tr>
<td style="height: 6px"></td>
</tr>
<tr>
<td style="text-align: center">
<table
style="
background-color: #ffffff;
text-align: center;
max-width: 50%;
margin: auto;
"
>
<tr>
<td style="height: 20px"></td>
</tr>
<tr>
<td>
<table style="width: 100%">
<tr>
<td style="text-align: center">
<img
src="https://app.hyperswitch.io/email-assets/HyperswitchLogo.png"
alt="Hyperswitch"
style="
text-align: center;
height: 1.3rem;
width: auto;
"
/>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="height: 40px"></td>
</tr>
<tr>
<td
style="
color: #666666;
font-size: 1rem;
font-weight: 400;
line-height: 1.5rem;
min-width: 450px;
"
>
<table
style="
width: 90%;
min-width: 350px;
text-align: start;
margin: auto;
padding: 0 10px;
"
>
<tr>
<td style="text-align: start;">
<p>Dear Merchant,</p>
</td>
</tr>
<tr>
<td style="text-align: start;">
<p>
It has come to our attention that your API key, <b>{api_key_name}</b> (<code>{prefix}*****</code>) </code> will expire in {expires_in} days.
</p>
<p>
To ensure uninterrupted
access to our platform and continued smooth operation of your services, we request you to take the
necessary actions as soon as possible.
</p>

</td>
</tr>
<tr>
<td style="height: 30px"></td>
</tr>
<tr>
<td style="text-align: start;">
Thanks,<br />
Team Hyperswitch
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="height: 50px"></td>
</tr>
<tr>
<td
style="
font-size: 12px;
line-height: 1rem;
font-weight: 400;
color: #111326b2;
"
>
Follow us on
</td>
</tr>
<tr>
<td>
<a
href="https://github.com/juspay/hyperswitch"
target="_blank"
>
<img
src="https://app.hyperswitch.io/email-assets/Github.png"
alt="Github"
height="15"
/>
</a>
<a href="https://x.com/hyperswitchio?s=21" target="_blank">
<img
src="https://app.hyperswitch.io/email-assets/Twitter.png"
alt="Twitter"
height="15"
/>
</a>
<a
href="https://www.linkedin.com/company/hyperswitch/"
target="_blank"
>
<img
src="https://app.hyperswitch.io/email-assets/Linkedin-Dark.png"
alt="LinkedIn"
height="15"
/>
</a>
</td>
</tr>
<tr>
<td style="height: 20px"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="height: 6px"></td>
</tr>
</table>
</div>
</body>
</html>