-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ch: change deployment command (#191)
ch: use secret variable
- Loading branch information
Showing
2 changed files
with
59 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,48 @@ | ||
export default function Template(orgName: string, link: string) { | ||
return /* html */ ` | ||
<table style="font-size: 16px; font-family: 'Rubik'; text-align: left"> | ||
<tbody> | ||
<tr> | ||
<td> | ||
<p style="margin-bottom: 20px">Hello,</p> | ||
<br /> | ||
<p style="margin-bottom: 5px"> | ||
You have been invited to join a Pulse organization called | ||
<strong>${orgName}</strong>. | ||
</p> | ||
<p style="margin-bottom: 10px"> | ||
The link below will take you to the registration page where you can create | ||
an account. | ||
</p> | ||
<a href="${link}" style="text-decoration: none; cursor: pointer"> | ||
<button | ||
style=" | ||
font-size: 16px; | ||
background-color: rgb(134, 103, 242); | ||
font-family: 'Rubik'; | ||
text-align: center; | ||
border: none; | ||
border-radius: 3px; | ||
padding: 5px; | ||
cursor: pointer; | ||
color: whitesmoke; | ||
" | ||
> | ||
Join ${orgName} | ||
</button> | ||
</a> | ||
<br /> | ||
<p>If the button is not functional, copy and paste the link below: </p> | ||
${link} | ||
<br /> | ||
<br /> | ||
<p> | ||
If you did not initiate the request or you think this email reached your | ||
inbox by mistake, simply ignore it. | ||
</p> | ||
<br /> | ||
<br /> | ||
<p>Best Regard,</p> | ||
<p>Pulse team</p> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
return ` | ||
<div style="font-size: 16px; font-family: 'Rubik'; margin-top: 0px; text-align: left; color: black"> | ||
<div style="margin-top: 0px; color: black"> | ||
<p><strong>From:</strong> [email protected]</p> | ||
<p><strong>Subject:</strong> Invitation</p> | ||
<p><strong>Invitation</strong></p> <br/> | ||
</div> | ||
<img src="${process.env.FRONTEND_LINK}/images/logo.png" /> | ||
<br/><br/><br/> | ||
<p>Hello,</p> <br/> | ||
<p>You have been invited to join a Pulse organization called <strong>${orgName}</strong>.</p> | ||
<p>The link below will take you to the registration page where you can create an account.</p> | ||
<a href="${link}" style="text-decoration: none; cursor: pointer"> | ||
<button style=" | ||
font-size: 16px; | ||
background-color: #d3d3d3; | ||
font-family: 'Rubik'; | ||
text-align: center; | ||
border: none; | ||
border-radius: 3px; | ||
padding: 5px; | ||
cursor: pointer; | ||
color: #800080; | ||
text-decoration: underline; | ||
"> | ||
Join ${orgName} | ||
</button> | ||
</a> | ||
<br /> | ||
<br /> | ||
<p>If you did not initiate the request or you think this email reached your inbox by mistake, simply ignore it.</p> | ||
<br /> | ||
<br /> | ||
<p><strong>Best Regards,</strong></p> | ||
<p>Pulse team</p> | ||
</div> | ||
` | ||
} |