4
4
export interface InviteEmailProps {
5
5
to : string ;
6
6
invitedName : string ;
7
- invitingOrg : string ;
7
+ invitingOrgName : string ;
8
8
inviteUrl : string ;
9
9
expiryDate : string ;
10
10
}
@@ -14,13 +14,13 @@ export const inviteTemplatePlainText = ({
14
14
expiryDate,
15
15
inviteUrl,
16
16
invitedName,
17
- invitingOrg
17
+ invitingOrgName
18
18
} : InviteEmailProps ) =>
19
19
`Hello ${ invitedName } ,
20
20
21
- You have been invited to join ${ invitingOrg } on Uninbox.
21
+ You have been invited to join ${ invitingOrgName } on Uninbox.
22
22
23
- Join ${ invitingOrg } at ${ inviteUrl }
23
+ Join ${ invitingOrgName } at ${ inviteUrl }
24
24
25
25
If the button is not working, copy paste this link in your browser:
26
26
${ inviteUrl }
@@ -40,15 +40,15 @@ export const inviteTemplate = ({
40
40
expiryDate,
41
41
inviteUrl,
42
42
invitedName,
43
- invitingOrg
43
+ invitingOrgName
44
44
} : InviteEmailProps ) =>
45
45
`<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
46
46
<html dir="ltr" lang="en">
47
47
48
48
<head>
49
49
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
50
50
</head>
51
- <div style="display:none;overflow:hidden;line-height:1px;opacity:0;max-height:0;max-width:0">You got an invite to join ${ invitingOrg } on Uninbox<div> </div>
51
+ <div style="display:none;overflow:hidden;line-height:1px;opacity:0;max-height:0;max-width:0">You got an invite to join ${ invitingOrgName } on Uninbox<div> </div>
52
52
</div>
53
53
54
54
<body style="margin-left:auto;margin-right:auto;margin-top:auto;margin-bottom:auto;background-color:rgb(255,255,255);padding-left:0.5rem;padding-right:0.5rem;font-family:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"">
@@ -64,11 +64,11 @@ export const inviteTemplate = ({
64
64
</tbody>
65
65
</table>
66
66
<p style="font-size:14px;line-height:12px;margin:16px 0;margin-top:2.5rem;color:rgb(0,0,0)">Hello <strong>${ invitedName } </strong>,</p>
67
- <p style="font-size:14px;line-height:12px;margin:16px 0;color:rgb(0,0,0)">You have been invited to join <strong>${ invitingOrg } </strong> on Uninbox.</p>
67
+ <p style="font-size:14px;line-height:12px;margin:16px 0;color:rgb(0,0,0)">You have been invited to join <strong>${ invitingOrgName } </strong> on Uninbox.</p>
68
68
<table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-bottom:32px;margin-top:32px;text-align:center">
69
69
<tbody>
70
70
<tr>
71
- <td><a href="${ inviteUrl } " style="line-height:100%;text-decoration:none;display:inline-block;max-width:100%;border-radius:0.25rem;background-color:rgb(0,0,0);padding-left:1.25rem;padding-right:1.25rem;padding-top:0.75rem;padding-bottom:0.75rem;text-align:center;font-size:12px;font-weight:600;color:rgb(255,255,255);text-decoration-line:none;padding:12px 20px 12px 20px" target="_blank"><span><!--[if mso]><i style="letter-spacing: 20px;mso-font-width:-100%;mso-text-raise:18" hidden> </i><![endif]--></span><span style="max-width:100%;display:inline-block;line-height:120%;mso-padding-alt:0px;mso-text-raise:9px">Join <!-- -->${ invitingOrg } </span><span><!--[if mso]><i style="letter-spacing: 20px;mso-font-width:-100%" hidden> </i><![endif]--></span></a></td>
71
+ <td><a href="${ inviteUrl } " style="line-height:100%;text-decoration:none;display:inline-block;max-width:100%;border-radius:0.25rem;background-color:rgb(0,0,0);padding-left:1.25rem;padding-right:1.25rem;padding-top:0.75rem;padding-bottom:0.75rem;text-align:center;font-size:12px;font-weight:600;color:rgb(255,255,255);text-decoration-line:none;padding:12px 20px 12px 20px" target="_blank"><span><!--[if mso]><i style="letter-spacing: 20px;mso-font-width:-100%;mso-text-raise:18" hidden> </i><![endif]--></span><span style="max-width:100%;display:inline-block;line-height:120%;mso-padding-alt:0px;mso-text-raise:9px">Join <!-- -->${ invitingOrgName } </span><span><!--[if mso]><i style="letter-spacing: 20px;mso-font-width:-100%" hidden> </i><![endif]--></span></a></td>
72
72
</tr>
73
73
</tbody>
74
74
</table>
0 commit comments