Skip to content

Commit

Permalink
Updated app domain
Browse files Browse the repository at this point in the history
  • Loading branch information
guilmola724 committed Sep 7, 2020
1 parent ebea4c9 commit 4e1a0d4
Show file tree
Hide file tree
Showing 5 changed files with 295 additions and 28 deletions.
6 changes: 3 additions & 3 deletions mail-templates/transactional_master.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
style="border-collapse:collapse;border-spacing:0px;">
<tbody>
<tr>
<td style="width:250px;"><a href="https://www.vintagepoker.app" target="_blank"><img
<td style="width:250px;"><a href="https://www.vintagepoker.net" target="_blank"><img
alt="Vintage Poker" height="auto"
src="https://images.ctfassets.net/4tlsutsg5se1/nYWFnuZzTZW8J3KeNoifT/b795af5e05cc6fd9c0cbfa7a3950b32a/logo-text_3x.png"
style="border:none;border-radius:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px;"
Expand Down Expand Up @@ -174,7 +174,7 @@
<p class="text-build-content" data-testid="g-3gwNNsRl"
style="margin: 10px 0; margin-top: 10px;"><span
style="color:#282215;font-family:Roboto;font-size:15px;line-height:22px;">The content of
your email goes here. </span><a target="_blank" href="https://www.vintagepoker.app"><span
your email goes here. </span><a target="_blank" href="https://www.vintagepoker.net"><span
style="color:#245069;font-family:Roboto;font-size:15px;line-height:22px;"><b>This is an
example link</b></span></a><span
style="color:#282215;font-family:Roboto;font-size:15px;line-height:22px;">.</span></p>
Expand All @@ -196,7 +196,7 @@
<tr>
<td align="center" bgcolor="#245069" role="presentation"
style="border:0px solid #ffffff;border-radius:30px;cursor:auto;mso-padding-alt:10px 25px 10px 25px;background:#245069;"
valign="middle"><a href="https://www.vintagepoker.app"
valign="middle"><a href="https://www.vintagepoker.net"
style="display:inline-block;background:#245069;color:#ffffff;font-family:Arial, sans-serif;font-size:22px;font-weight:normal;line-height:120%;margin:0;text-decoration:none;text-transform:none;padding:10px 25px 10px 25px;mso-padding-alt:0px;border-radius:30px;"
target="_blank"><span
style="background-color:transparent;color:#ffffff;font-family:Playfair Display, Helvetica, Arial, sans-serif;font-size:22px;">Call
Expand Down
311 changes: 289 additions & 22 deletions mail-templates/transactional_master.mjml
Original file line number Diff line number Diff line change
@@ -1,43 +1,310 @@
<mjml owa="desktop" version="4.5.1">
<mj-head>
<mj-preview></mj-preview>
<mj-font href="https://fonts.googleapis.com/css?family=Playfair Display" name="Playfair Display"></mj-font>
<mj-font
href="https://fonts.googleapis.com/css?family=Playfair Display"
name="Playfair Display"
></mj-font>
</mj-head>
<mj-body background-color="#fffefc" color="#282215" font-family="Playfair Display, Helvetica, Arial, sans-serif">
<mj-section background-color="#e8e1d0" background-repeat="repeat" border="0px solid #ffffff" padding-bottom="0px" padding-left="0px" padding-right="0px" padding-top="0px" padding="0px 0px 0px 0px" text-align="center" vertical-align="top">
<mj-body
background-color="#fffefc"
color="#282215"
font-family="Playfair Display, Helvetica, Arial, sans-serif"
>
<mj-section
background-color="#e8e1d0"
background-repeat="repeat"
border="0px solid #ffffff"
padding-bottom="0px"
padding-left="0px"
padding-right="0px"
padding-top="0px"
padding="0px 0px 0px 0px"
text-align="center"
vertical-align="top"
>
<mj-column>
<mj-image align="center" alt="Vintage Poker" border-radius="0" border="none" height="auto" href="https://www.vintagepoker.app" padding-bottom="20px" padding-left="0px" padding-right="0px" padding-top="20px" padding="20px 0px 20px 0px" src="https://x45j6.mjt.lu/tplimg/x45j6/b/x9t1k/xxk28.png" target="_blank" title="" width="250px"></mj-image>
<mj-image
align="center"
alt="Vintage Poker"
border-radius="0"
border="none"
height="auto"
href="https://www.vintagepoker.net"
padding-bottom="20px"
padding-left="0px"
padding-right="0px"
padding-top="20px"
padding="20px 0px 20px 0px"
src="https://x45j6.mjt.lu/tplimg/x45j6/b/x9t1k/xxk28.png"
target="_blank"
title=""
width="250px"
></mj-image>
</mj-column>
</mj-section>
<mj-section background-color="#f7f2dc" background-repeat="repeat" border="0px solid #ffffff" padding-bottom="24px" padding-left="0px" padding-right="0px" padding-top="16px" padding="16px 0px 24px 0px" text-align="center" vertical-align="top">
<mj-section
background-color="#f7f2dc"
background-repeat="repeat"
border="0px solid #ffffff"
padding-bottom="24px"
padding-left="0px"
padding-right="0px"
padding-top="16px"
padding="16px 0px 24px 0px"
text-align="center"
vertical-align="top"
>
<mj-column>
<mj-text align="left" color="#000000" font-family="Arial, sans-serif" font-size="13px" letter-spacing="normal" padding-bottom="0px" padding-top="0px" padding="0px 25px 0px 25px">
<h2 class="text-build-content" data-testid="i8L8HViE9W" style="margin-top: 10px; margin-bottom: 10px"><span style="color:#245069;font-family:Playfair Display, Helvetica, Arial, sans-serif;font-size:24px;">Hi username!</span></h2>
<mj-text
align="left"
color="#000000"
font-family="Arial, sans-serif"
font-size="13px"
letter-spacing="normal"
padding-bottom="0px"
padding-top="0px"
padding="0px 25px 0px 25px"
>
<h2
class="text-build-content"
data-testid="i8L8HViE9W"
style="margin-top: 10px; margin-bottom: 10px"
>
<span
style="
color: #245069;
font-family: Playfair Display, Helvetica, Arial, sans-serif;
font-size: 24px;
"
>Hi username!</span
>
</h2>
</mj-text>
<mj-text align="left" color="#000000" font-family="Arial, sans-serif" font-size="14px" letter-spacing="normal" padding-bottom="0px" padding-top="0px" padding="0px 25px 0px 25px">
<p class="text-build-content" data-testid="g-3gwNNsRl" style="margin: 10px 0; margin-top: 10px;"><span style="color:#282215;font-family:Roboto;font-size:15px;line-height:22px;">The content of your email goes here. </span><a target="_blank" href="https://www.vintagepoker.app"><span style="color:#6297B5;font-family:Roboto;font-size:15px;line-height:22px;"><b>This is an example link</b></span></a><span style="color:#282215;font-family:Roboto;font-size:15px;line-height:22px;">.</span></p>
<p class="text-build-content" data-testid="g-3gwNNsRl" style="margin: 10px 0; margin-bottom: 10px;"><span style="color:#282215;font-family:Roboto;font-size:15px;line-height:22px;">Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.</span></p>
<mj-text
align="left"
color="#000000"
font-family="Arial, sans-serif"
font-size="14px"
letter-spacing="normal"
padding-bottom="0px"
padding-top="0px"
padding="0px 25px 0px 25px"
>
<p
class="text-build-content"
data-testid="g-3gwNNsRl"
style="margin: 10px 0; margin-top: 10px"
>
<span
style="
color: #282215;
font-family: Roboto;
font-size: 15px;
line-height: 22px;
"
>The content of your email goes here. </span
><a target="_blank" href="https://www.vintagepoker.net"
><span
style="
color: #6297b5;
font-family: Roboto;
font-size: 15px;
line-height: 22px;
"
><b>This is an example link</b></span
></a
><span
style="
color: #282215;
font-family: Roboto;
font-size: 15px;
line-height: 22px;
"
>.</span
>
</p>
<p
class="text-build-content"
data-testid="g-3gwNNsRl"
style="margin: 10px 0; margin-bottom: 10px"
>
<span
style="
color: #282215;
font-family: Roboto;
font-size: 15px;
line-height: 22px;
"
>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam
erat, sed diam voluptua. At vero eos et accusam et justo duo
dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
sanctus est Lorem ipsum dolor sit amet.</span
>
</p>
</mj-text>
<mj-button align="center" background-color="#245069" border-radius="30px" border="0px solid #ffffff" color="#ffffff" font-family="Arial, sans-serif" font-size="22px" font-weight="normal" href="https://www.vintagepoker.app" inner-padding="10px 25px 10px 25px" padding-left="25px" padding-right="25px" padding="10px 25px 10px 25px" text-decoration="none" text-transform="none" vertical-align="middle">
<span style="background-color:transparent;color:#ffffff;font-family:Roboto;font-size:22px;">Call to Action</span>
<mj-button
align="center"
background-color="#245069"
border-radius="30px"
border="0px solid #ffffff"
color="#ffffff"
font-family="Arial, sans-serif"
font-size="22px"
font-weight="normal"
href="https://www.vintagepoker.net"
inner-padding="10px 25px 10px 25px"
padding-left="25px"
padding-right="25px"
padding="10px 25px 10px 25px"
text-decoration="none"
text-transform="none"
vertical-align="middle"
>
<span
style="
background-color: transparent;
color: #ffffff;
font-family: Roboto;
font-size: 22px;
"
>Call to Action</span
>
</mj-button>
<mj-text align="left" color="#000000" font-family="Arial, sans-serif" font-size="14px" letter-spacing="normal" padding-bottom="0px" padding-top="0px" padding="10px 25px">
<p class="text-build-content" data-testid="O1eJC078zX" style="margin: 10px 0; margin-top: 10px; margin-bottom: 10px;"><span style="color:#282215;font-family:Roboto;font-size:15px;line-height:24px;">Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.</span></p>
<mj-text
align="left"
color="#000000"
font-family="Arial, sans-serif"
font-size="14px"
letter-spacing="normal"
padding-bottom="0px"
padding-top="0px"
padding="10px 25px"
>
<p
class="text-build-content"
data-testid="O1eJC078zX"
style="margin: 10px 0; margin-top: 10px; margin-bottom: 10px"
>
<span
style="
color: #282215;
font-family: Roboto;
font-size: 15px;
line-height: 24px;
"
>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam
erat, sed diam voluptua. At vero eos et accusam et justo duo
dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
sanctus est Lorem ipsum dolor sit amet.</span
>
</p>
</mj-text>
<mj-text align="left" color="#000000" font-family="Arial, sans-serif" font-size="14px" letter-spacing="normal" padding-bottom="0px" padding-top="0px" padding="10px 25px">
<p class="text-build-content" data-testid="BCd-ekutlT" style="margin: 10px 0; margin-top: 10px; margin-bottom: 10px;"><span style="color:#282215;font-family:Roboto;font-size:15px;line-height:24px;">Enjoy playing!</span></p>
<mj-text
align="left"
color="#000000"
font-family="Arial, sans-serif"
font-size="14px"
letter-spacing="normal"
padding-bottom="0px"
padding-top="0px"
padding="10px 25px"
>
<p
class="text-build-content"
data-testid="BCd-ekutlT"
style="margin: 10px 0; margin-top: 10px; margin-bottom: 10px"
>
<span
style="
color: #282215;
font-family: Roboto;
font-size: 15px;
line-height: 24px;
"
>Enjoy playing!</span
>
</p>
</mj-text>
<mj-text align="left" color="#000000" font-family="Arial, sans-serif" font-size="14px" letter-spacing="normal" padding-bottom="0px" padding-left="25px" padding-right="25px" padding-top="0px" padding="0px 25px 0px 25px">
<p class="text-build-content" data-testid="RB_XdJ1yXO" style="margin: 10px 0; margin-top: 10px; margin-bottom: 10px;"><span style="color:#282215;font-family:Roboto;font-size:15px;line-height:10px;"><i>The Vintage Poker Team</i></span></p>
<mj-text
align="left"
color="#000000"
font-family="Arial, sans-serif"
font-size="14px"
letter-spacing="normal"
padding-bottom="0px"
padding-left="25px"
padding-right="25px"
padding-top="0px"
padding="0px 25px 0px 25px"
>
<p
class="text-build-content"
data-testid="RB_XdJ1yXO"
style="margin: 10px 0; margin-top: 10px; margin-bottom: 10px"
>
<span
style="
color: #282215;
font-family: Roboto;
font-size: 15px;
line-height: 10px;
"
><i>The Vintage Poker Team</i></span
>
</p>
</mj-text>
</mj-column>
</mj-section>
<mj-section background-color="transparent" background-repeat="repeat" border="0px solid #ffffff" padding-bottom="0px" padding-left="0px" padding-right="0px" padding-top="0px" padding="0px 0px 0px 0px" text-align="center" vertical-align="top">
<mj-section
background-color="transparent"
background-repeat="repeat"
border="0px solid #ffffff"
padding-bottom="0px"
padding-left="0px"
padding-right="0px"
padding-top="0px"
padding="0px 0px 0px 0px"
text-align="center"
vertical-align="top"
>
<mj-column>
<mj-text align="left" color="#000000" font-family="Arial, sans-serif" font-size="13px" letter-spacing="normal" padding-bottom="8px" padding-left="20px" padding-right="20px" padding-top="8px" padding="8px 20px 8px 20px">
<p class="text-build-content" style="text-align: center; margin: 10px 0; margin-top: 10px; margin-bottom: 10px;" data-testid="v8eZLeSfkPK"><span style="color:#245069;font-family:Roboto;font-size:13px;line-height:13px;">© 2020 Vintage Poker. All rights reserved.</span></p>
<mj-text
align="left"
color="#000000"
font-family="Arial, sans-serif"
font-size="13px"
letter-spacing="normal"
padding-bottom="8px"
padding-left="20px"
padding-right="20px"
padding-top="8px"
padding="8px 20px 8px 20px"
>
<p
class="text-build-content"
style="
text-align: center;
margin: 10px 0;
margin-top: 10px;
margin-bottom: 10px;
"
data-testid="v8eZLeSfkPK"
>
<span
style="
color: #245069;
font-family: Roboto;
font-size: 13px;
line-height: 13px;
"
>© 2020 Vintage Poker. All rights reserved.</span
>
</p>
</mj-text>
</mj-column>
</mj-section>
</mj-body>
</mjml>
</mjml>
2 changes: 1 addition & 1 deletion server/mails/components/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const Header = () => `
style="border-collapse:collapse;border-spacing:0px;">
<tbody>
<tr>
<td style="width:250px;"><a href="https://www.vintagepoker.app" target="_blank"><img
<td style="width:250px;"><a href="https://www.vintagepoker.net" target="_blank"><img
alt="Vintage Poker" height="auto"
src="https://images.ctfassets.net/4tlsutsg5se1/nYWFnuZzTZW8J3KeNoifT/b795af5e05cc6fd9c0cbfa7a3950b32a/logo-text_3x.png"
style="border:none;border-radius:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px;"
Expand Down
2 changes: 1 addition & 1 deletion server/mails/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const WelcomeMail = (username = '{{nickname}}') => ({
name: '001 | Registration Welcome',
subject: 'Welcome to Vintage Poker!',
text: ((username) =>
`Hi ${username}!\n\nWelcome to Vintage Poker and thank you for registering to our service!\n\nPlay now: https://www.vintagepoker.app \n\nEnjoy playing on our platform!\n\nThe Vintage Poker Team
`Hi ${username}!\n\nWelcome to Vintage Poker and thank you for registering to our service!\n\nPlay now: https://www.vintagepoker.net \n\nEnjoy playing on our platform!\n\nThe Vintage Poker Team
`)(username),
html: ((username) =>
`${MainLayout(
Expand Down
2 changes: 1 addition & 1 deletion server/mails/mails/WelcomeMail.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ${ContentBlock(
'Welcome to Vintage Poker and thank you for registering to our service!',
)}`,
)}
${Button('Play now!', 'https://www.vintagepoker.app')}
${Button('Play now!', 'https://www.vintagepoker.net')}
${ContentBlock(`${Text('Enjoy playing on our platform!')}`)}
`;

Expand Down

0 comments on commit 4e1a0d4

Please sign in to comment.