Skip to content

Commit

Permalink
Refactor/update email (#848)
Browse files Browse the repository at this point in the history
* fix: update email template for invited user

* fix: fix styling

* fix: update logo on reset password email

* fix: update reset-password copyright
  • Loading branch information
FredrikOseberg committed May 21, 2021
1 parent 8a9cb58 commit 911fa35
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 10 deletions.
25 changes: 18 additions & 7 deletions src/mailtemplates/getting-started/getting-started.html.mustache
Expand Up @@ -264,7 +264,7 @@
.resetPasswordLink {
text-decoration: none;
color: #fff;
color: #fff !important;
background-color: #607d8b;
border-radius: 25px;
padding: 0.75rem;
Expand Down Expand Up @@ -466,7 +466,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%" id="templateHeader">
<tr>
<td valign="top" class="headerContent">
<img src="https://www.unleash-hosted.com/wp-content/uploads/2019/12/unleash-hosted-logo-v2-mini-fit.png" style="max-width:600px;" id="headerImage" mc:label="header_image" mc:edit="header_image" mc:allowdesigner mc:allowtext />
<img src="https://www.getunleash.io/logos/unleash_pos.svg" style="max-width:600px;padding:1rem;" id="headerImage" mc:label="header_image" mc:edit="header_image" mc:allowdesigner mc:allowtext />
</td>
</tr>
</table>
Expand All @@ -481,12 +481,19 @@
<td valign="top" class="bodyContent" mc:edit="body_content">
<h1>Welcome to Unleash {{ name }}!</h1>
<br />
You have been invited to your organizations Unleash account. Below is your magic sign-in link. Just click the button and follow the steps provided to update your password and get started using Unleash.
<br />
<br />
<p>You have been invited to your organization's Unleash account - the new way of delivering software.</p>
<p>Below is your magic sign-in link. Just click the button and follow the steps provided to update your password and get started using Unleash.</p>
<br />
<a class="resetPasswordLink" href="{{{ passwordLink }}}" target="_blank" rel="noopener noreferrer">Setup account<a/>
<br />
<br />
<p>By the way - did you know we have built Unleash on best practice when releasing new features. Our solution removes pressure from developers, allowing you to focus on delivering value through experimentation.</p>
<p>Looking forward to having a lot of fun together.</p>
</td>
</tr>
<tr>
Expand All @@ -499,6 +506,10 @@
<li><a href="https://github.com/unleash" target="_blank" rel="noopener noreferrer">Code examples</a></li>
<li><a href="https://docs.getunleash.io/docs/user_guide/connect_sdk" target="_blank" rel="noopener noreferrer">SDKs</a></li>
</ul>
Best
<br />
Your Unleash team
</td>
</tr>
</table>
Expand All @@ -516,7 +527,7 @@
</tr>
<tr>
<td valign="top" class="footerContent" style="padding-top:0;" mc:edit="footer_content01">
<em>Copyright &copy; {{ year }} | Unleash | All rights reserved.</em>
<em>Copyright &copy; {{ year }} | Bricks Software | All rights reserved.</em>
<br />
<br />
Expand Down
@@ -1,11 +1,19 @@
Welcome to Unleash {{ name }}!

You have been invited to your organizations Unleash account. Below is your magic sign-in link. Just click the button and follow the steps provided to update your password and get started using Unleash.
You have been invited to your organization's Unleash account - the new way of delivering software.

Below is your magic sign-in link. Just click the button and follow the steps provided to update your password and get started using Unleash.

Visit {{{ passwordLink }}} to get started.

By the way - did you know we have built Unleash on best practice when releasing new features. Our solution removes pressure from developers, allowing you to focus on delivering value through experimentation.
Looking forward to having a lot of fun together.

Useful resources:

- https://docs.getunleash.io
- https://github.com/unleash
- https://docs.getunleash.io/docs/user_guide/connect_sdk

Best
Your Unleash team
4 changes: 2 additions & 2 deletions src/mailtemplates/reset-password/reset-password.html.mustache
Expand Up @@ -466,7 +466,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%" id="templateHeader">
<tr>
<td valign="top" class="headerContent">
<img src="https://www.unleash-hosted.com/wp-content/uploads/2019/12/unleash-hosted-logo-v2-mini-fit.png" style="max-width:600px;" id="headerImage" mc:label="header_image" mc:edit="header_image" mc:allowdesigner mc:allowtext />
<img src="https://www.getunleash.io/logos/unleash_pos.svg" style="max-width:600px;padding:1rem;" id="headerImage" mc:label="header_image" mc:edit="header_image" mc:allowdesigner mc:allowtext />
</td>
</tr>
</table>
Expand Down Expand Up @@ -504,7 +504,7 @@
</tr>
<tr>
<td valign="top" class="footerContent" style="padding-top:0;" mc:edit="footer_content01">
<em>Copyright &copy; {{ year }} | Unleash | All rights reserved.</em>
<em>Copyright &copy; {{ year }} | Bricks Software | All rights reserved.</em>
<br />
<br />
Expand Down

0 comments on commit 911fa35

Please sign in to comment.