Skip to content

Commit

Permalink
Update email style and add TRISA Docs link (#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellemaxwell authored Dec 12, 2024
1 parent ddfa760 commit e38b171
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 30 deletions.
19 changes: 0 additions & 19 deletions pkg/emails/templates/partials/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,25 +113,6 @@
width="100%"
style="margin: auto"
>
<tr>
<td style="padding: 20px 0; text-align: center">
<img
src="/static/envoy-logo.png"
width="200"
height="auto"
alt="Logo"
border="0"
style="
height: auto;
background: #dddddd;
font-family: sans-serif;
font-size: 16px;
line-height: 20px;
color: #000000;
"
/>
</td>
</tr>
{{ block "content" . }}{{ end }}
</table>

Expand Down
3 changes: 1 addition & 2 deletions pkg/emails/templates/sunrise_invite.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,8 @@
<tr>
<td style="padding: 12px 20px; font-family: sans-serif; font-size: 16px; line-height: 20px; color: #000000;">
<p style="margin: 0 0 16px;">If you cannot click the link, please copy and paste the following URL into your
browser:
browser: <a href="{{ .VerifyURL }}" style="text-decoration: underline;">{{ .VerifyURL }}</a>
</p>
<p><a href="{{ .VerifyURL }}" style="text-decoration: underline;">{{ .VerifyURL }}</a></p>
</td>
</tr>
<tr>
Expand Down
12 changes: 3 additions & 9 deletions pkg/emails/templates/verify_email.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,10 @@
<tr>
<td style="background-color: #ffffff;" class="darkmode-bg">
<table role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td style="padding:20px; font-size: 16px; line-height: 20px; color: #000000;">
<p style="margin: 0 0 16px;">Verify your email to view your Travel Rule Data Message.</p>
</td>
</tr>

<td style="padding: 2px 20px; font-size: 16px; line-height: 20px; color: #000000;">
<p style="margin: 0 0 16px;">Your one time code is:</p>
<div style="background:#f5f4f5;border-radius:4px;padding:20px;">
<p style="text-align:center;vertical-align:middle;font-size:30px">{{ .Code }}</p>
<p style="margin: 0 0 16px;">Verify your email address to view your Travel rule data message. To view the message enter the code below.</p>
<div style="margin: 0 0 16px;font-weight:600;letter-spacing:.3rem;">
<p style="text-align:center;vertical-align:middle;font-size:24px">{{ .Code }}</p>
</div>
</td>
</tr>
Expand Down
1 change: 1 addition & 0 deletions pkg/web/templates/components/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<li><a href="/accounts"><i class="fa-solid fa-rectangle-list"></i>Customer Accounts</a></li>
<li><a href="/counterparty"><i class="fa-solid fa-building-columns"></i>Counterparty VASPs</a></li>
<li><a href="/v1/docs" target="_blank"><i class="fa solid fa-book"></i>API Docs</a></li>
<li><a href="https://trisa.dev" target="_blank"><i class="fa solid fa-file-lines"></i>TRISA Docs</a></li>
</ul>
</div>
<div class="navbar-end">
Expand Down

0 comments on commit e38b171

Please sign in to comment.