mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
Merge pull request #639 from Hexastack/fix/mailing
fix: nest mailing + minor css tweaks
This commit is contained in:
@@ -72,7 +72,7 @@ const i18nOptions: I18nOptions = {
|
||||
}),
|
||||
template: {
|
||||
adapter: new MjmlAdapter('ejs', { inlineCssEnabled: false }),
|
||||
dir: './src/templates',
|
||||
dir: path.join(process.cwd(), 'dist', 'templates'),
|
||||
options: {
|
||||
context: {
|
||||
appName: config.parameters.appName,
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
<mj-body>
|
||||
<mj-section>
|
||||
<mj-column>
|
||||
<mj-image width="100px" src="/assets/logo.png"></mj-image>
|
||||
<mj-divider border-color="#048BA8"></mj-divider>
|
||||
<mj-image width="186px" src="https://hexabot.ai/assets/images/logo.png"></mj-image>
|
||||
<mj-divider border-color="#000"></mj-divider>
|
||||
<mj-text font-size="16px" color="#000" font-family="helvetica"
|
||||
><%= t('hi') %> <%= first_name %>,</mj-text
|
||||
>
|
||||
@@ -17,7 +17,7 @@
|
||||
<mj-button
|
||||
href="<%= this.appUrl %>/login/<%= token %>"
|
||||
font-size="16px"
|
||||
background-color="#F45E43"
|
||||
background-color="#000"
|
||||
><%= t('confirm') %></mj-button
|
||||
>
|
||||
</mj-column>
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
<mj-body>
|
||||
<mj-section>
|
||||
<mj-column>
|
||||
<mj-image width="100px" src="/assets/logo.png"></mj-image>
|
||||
<mj-divider border-color="#048BA8"></mj-divider>
|
||||
<mj-image width="186px" src="https://hexabot.ai/assets/images/logo.png"></mj-image>
|
||||
<mj-divider border-color="#000"></mj-divider>
|
||||
<mj-text font-size="16px" color="#000" font-family="helvetica">
|
||||
<%= t('welcome') %>,
|
||||
</mj-text>
|
||||
@@ -19,7 +19,7 @@
|
||||
<mj-button
|
||||
href="<%= this.appUrl %>/register/<%= token %>"
|
||||
font-size="16px"
|
||||
background-color="#F45E43"
|
||||
background-color="#000"
|
||||
><%= t('join') %></mj-button
|
||||
>
|
||||
</mj-column>
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
<mj-body>
|
||||
<mj-section>
|
||||
<mj-column>
|
||||
<mj-image width="100px" src="/assets/logo.png"></mj-image>
|
||||
<mj-divider border-color="#048BA8"></mj-divider>
|
||||
<mj-image width="186px" src="https://hexabot.ai/assets/images/logo.png"></mj-image>
|
||||
<mj-divider border-color="#000"></mj-divider>
|
||||
<mj-text font-size="16px" color="#000" font-family="helvetica"
|
||||
><%= t('hi') %> <%= first_name %>,</mj-text
|
||||
>
|
||||
@@ -16,7 +16,7 @@
|
||||
<mj-button
|
||||
href="<%= this.appUrl %>/reset/<%= token %>"
|
||||
font-size="16px"
|
||||
background-color="#F45E43"
|
||||
background-color="#000"
|
||||
><%= t('reset') %></mj-button
|
||||
>
|
||||
</mj-column>
|
||||
|
||||
Reference in New Issue
Block a user