Skip to content
Snippets Groups Projects
Commit 566888a4 authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

fix(email): small design issues

parent 35901700
Branches
No related tags found
1 merge request!435WIP: 1.4.0
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
</mj-column> </mj-column>
<mj-column vertical-align="middle" > <mj-column vertical-align="middle" >
<mj-image src="{{baseUrl}}/assets/logo-territoire.png" alt="logo-territoire" height="100px"> <mj-image src="{{baseUrl}}/assets/logo-territoire.png" alt="logo-territoire">
</mj-image> </mj-image>
</mj-column> </mj-column>
......
<mj-section css-class="background" padding="17px" align="center"> <mj-section css-class="background" padding="17px" align="center">
<mj-social <mj-social
css-class="button-with-icon" css-class="button-with-icon"
icon-size="30px" icon-size="36px"
mode="horizontal" mode="horizontal"
font-size="24px" font-size="24px"
font-family="Lato" font-family="Lato"
...@@ -16,4 +16,4 @@ ...@@ -16,4 +16,4 @@
Du nouveau dans mon espace ecolyo Du nouveau dans mon espace ecolyo
</mj-social-element> </mj-social-element>
</mj-social> </mj-social>
</mj-section> </mj-section>
\ No newline at end of file
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<mj-section background-color="#121212"> <mj-section background-color="#121212">
<mj-column> <mj-column>
<mj-social css-class="button-with-icon" icon-size="30px" mode="horizontal" font-size="20px" font-weight="700" font-family="Lato"> <mj-social css-class="button-with-icon" icon-size="36px" mode="horizontal" font-size="20px" font-weight="700" font-family="Lato">
<mj-social-element src="{{baseUrl}}/assets/ecolyo-icon.png" name="ecolyo" padding="0 10px 0 0" href="{{clientUrl}}"> <mj-social-element src="{{baseUrl}}/assets/ecolyo-icon.png" name="ecolyo" padding="0 10px 0 0" href="{{clientUrl}}">
Voir dans Ecolyo Voir dans Ecolyo
</mj-social-element> </mj-social-element>
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
</mj-section> </mj-section>
<mj-section background-color="#121212"> <mj-section background-color="#121212">
<mj-column> <mj-column>
<mj-social css-class="button-with-icon" icon-size="30px" mode="horizontal" font-size="20px" font-weight="700" font-family="Lato"> <mj-social css-class="button-with-icon" icon-size="36px" mode="horizontal" font-size="20px" font-weight="700" font-family="Lato">
<mj-social-element src="{{baseUrl}}/assets/ecolyo-icon.png" name="ecolyo" padding="0 10px 0 0" href="{{clientUrl}}"> <mj-social-element src="{{baseUrl}}/assets/ecolyo-icon.png" name="ecolyo" padding="0 10px 0 0" href="{{clientUrl}}">
Voir mon bilan Voir mon bilan
</mj-social-element> </mj-social-element>
...@@ -73,10 +73,12 @@ ...@@ -73,10 +73,12 @@
</mj-column> </mj-column>
</mj-section> </mj-section>
<mj-section background-color="black">
{{#> base/footer}} {{#> base/footer}}
{{/base/footer}} {{/base/footer}}
{{#> base/unsubscribe}} {{#> base/unsubscribe}}
{{/base/unsubscribe}} {{/base/unsubscribe}}
</mj-section>
</mj-body> </mj-body>
</mjml> </mjml>
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
<mj-section background-color="#1B1C22"> <mj-section background-color="#1B1C22">
<mj-column> <mj-column>
<mj-social css-class="button-with-icon" icon-size="30px" mode="horizontal" font-size="20px" font-weight="700" font-family="Lato"> <mj-social css-class="button-with-icon" icon-size="36px" mode="horizontal" font-size="20px" font-weight="700" font-family="Lato">
<mj-social-element src="{{baseUrl}}/assets/ecolyo-icon.png" name="ecolyo" padding="0 10px 0 0" href="{{clientUrl}}"> <mj-social-element src="{{baseUrl}}/assets/ecolyo-icon.png" name="ecolyo" padding="0 10px 0 0" href="{{clientUrl}}">
J'ouvre mon Ecolyo J'ouvre mon Ecolyo
</mj-social-element> </mj-social-element>
......
...@@ -73,12 +73,12 @@ const buildConsumptionText = async (client: Client) => { ...@@ -73,12 +73,12 @@ const buildConsumptionText = async (client: Client) => {
text += text +=
'<span class="elec-text">+' + '<span class="elec-text">+' +
(value * 100).toFixed(2) + (value * 100).toFixed(2) +
" % d'électricité </span>" "&nbsp;%&nbsp;d'électricité</span>"
} else { } else {
text += text +=
'<span class="elec-text">' + '<span class="elec-text">' +
(value * 100).toFixed(2) + (value * 100).toFixed(2) +
" % d'électricité </span>" "&nbsp;%&nbsp;d'électricité</span>"
} }
} }
} }
...@@ -96,12 +96,12 @@ const buildConsumptionText = async (client: Client) => { ...@@ -96,12 +96,12 @@ const buildConsumptionText = async (client: Client) => {
text += text +=
'<span class="gas-text">+' + '<span class="gas-text">+' +
(value * 100).toFixed(2) + (value * 100).toFixed(2) +
' % de gaz</span>' '&nbsp;%&nbsp;de&nbsp;gaz</span>'
} else { } else {
text += text +=
'<span class="gas-text">' + '<span class="gas-text">' +
(value * 100).toFixed(2) + (value * 100).toFixed(2) +
' % de gaz</span>' '&nbsp;%&nbsp;de&nbsp;gaz</span>'
} }
} }
} }
...@@ -117,12 +117,12 @@ const buildConsumptionText = async (client: Client) => { ...@@ -117,12 +117,12 @@ const buildConsumptionText = async (client: Client) => {
text += text +=
'<span class="water-text">+' + '<span class="water-text">+' +
(value * 100).toFixed(2) + (value * 100).toFixed(2) +
" % d'eau</span>" "&nbsp;%&nbsp;d'eau</span>"
} else { } else {
text += text +=
'<span class="water-text">' + '<span class="water-text">' +
(value * 100).toFixed(2) + (value * 100).toFixed(2) +
" % d'eau</span>" "&nbsp;%&nbsp;d'eau</span>"
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment