Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update welcome-email.mjml to V4 #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
158 changes: 137 additions & 21 deletions templates/welcome-email.mjml
Original file line number Diff line number Diff line change
@@ -1,22 +1,138 @@
<mjml>
<mj-body background-color="#ffffff" font-size="13px">
<mj-section background-color="#ffffff" padding-bottom="0px" padding-top="0">
<mj-column vertical-align="top" width="100%">
<mj-image src="http://go.mailjet.com/tplimg/mtrq/b/ox8s/mg1rw.png" alt="" align="center" border="none" width="600px" padding-left="0px" padding-right="0px" padding-bottom="0px" padding-top="0"></mj-image>
</mj-column>
</mj-section>
<mj-section background-color="#009FE3" vertical-align="top" padding-bottom="0px" padding-top="0">
<mj-column vertical-align="top" width="100%">
<mj-text align="left" color="#ffffff" font-size="45px" font-weight="bold" font-family="open Sans Helvetica, Arial, sans-serif" padding-left="25px" padding-right="25px" padding-bottom="30px" padding-top="50">Welcome aboard</mj-text>
</mj-column>
</mj-section>
<mj-section background-color="#009fe3" padding-bottom="20px" padding-top="20">
<mj-column vertical-align="middle" width="100%">
<mj-text align="left" color="#ffffff" font-size="22px" font-family="open Sans Helvetica, Arial, sans-serif" padding-left="25px" padding-right="25px"><span style="color:#FEEB35">Dear [[FirstName]]</span><br /><br /> Welcome to [[CompanyName]].</mj-text>
<mj-text align="left" color="#ffffff" font-size="15px" font-family="open Sans Helvetica, Arial, sans-serif" padding-left="25px" padding-right="25px">We&apos;re really excited you&apos;ve decided to give us a try. In case you have any questions, feel free to reach out to us at [[ContactEmail]]. You can login to your account with your username [[UserName]]</mj-text>
<mj-button align="left" font-size="22px" font-weight="bold" background-color="#ffffff" border-radius="10px" color="#1AA0E1" font-family="open Sans Helvetica, Arial, sans-serif">Login</mj-button>
<mj-text align="left" color="#ffffff" font-size="15px" font-family="open Sans Helvetica, Arial, sans-serif" padding-left="25px" padding-right="25px">Thanks, <br /> The [[CompanyName]] Team</mj-text>
</mj-column>
</mj-section>
</mj-body>
</mjml>
<mj-head>
<mj-attributes>

<!-- Global Attributes-->
<mj-all
font-family="open Sans Helvetica, Arial, sans-serif"

/>



<!-- Components generic Attributes-->
<mj-body
background-color="#ffffff"

/>

<mj-image
align="center"
border="none"
width="600px"
padding-left="0px"
padding-right="0px"
padding-bottom="0px"
padding-top="0"
/>

<mj-section
background-color="#ffffff"
padding-bottom="0px"
padding-top="0"
/>

<mj-column
vertical-align="top"
width="100%"
/>

<mj-text
align="left"
color="#ffffff"
/>

<mj-button
align="left"
font-size="22px"
font-weight="bold"
background-color="#ffffff"
border-radius="10px"
color="#1AA0E1"
/>




<!-- Classes Attributes-->
<!-- Classitis yes!, but it helps to keep the markup uncluttered
anyway most if not of all this styles will be inlined in the rendered HTML-->

<mj-class
name="title"
font-size="45px"
font-weight="bold"
padding-left="25px"
padding-right="25px"
padding-bottom="30px"
padding-top="50px"
/>
<mj-class
name="subtitle"
font-size="22px"
padding-left="25px"
padding-right="25px"
/>

<mj-class name="blue-bg"
background-color="#009FE3"
/>


<mj-class name="vertical-clear"
padding-bottom="20px"
padding-top="20px"
/>
<mj-class name="paragraph"
font-size="15px"
padding-left="25px"
padding-right="25px"

/>
<mj-class name="footer"
font-size="15px"
padding-left="25px"
padding-right="25px"

/>

</mj-attributes>

<mj-style inline="inline">
.yellow{
color:#FEEB35;
}
</mj-style>

</mj-head>

<mj-body>

<mj-section >
<mj-column>
<mj-image src="http://go.mailjet.com/tplimg/mtrq/b/ox8s/mg1rw.png" alt=""></mj-image>
</mj-column>
</mj-section>

<mj-section mj-class ="blue-bg" >
<mj-column>
<mj-text mj-class ="title" >Welcome aboard</mj-text>
</mj-column>
</mj-section>

<mj-section mj-class ="blue-bg vertical-clear" >
<mj-column vertical-align="middle" width="100%">
<mj-text mj-class ="subtitle" >
<span class="yellow" >Dear [[FirstName]]</span>
<br /><br />
Welcome to [[CompanyName]].
</mj-text>
<mj-text mj-class="paragraph" >
We&apos;re really excited you&apos;ve decided to give us a try. In case you have any questions, feel free to reach out to us at [[ContactEmail]]. You can login to your account with your username [[UserName]]
</mj-text>
<mj-button>Login</mj-button>
<mj-text mj-class="footer">Thanks, <br /> The [[CompanyName]] Team</mj-text>
</mj-column>
</mj-section>
</mj-body>
</mjml>