Skip to content

Commit

Permalink
Merge pull request #61 from jwade1327/footer
Browse files Browse the repository at this point in the history
Add new Footer to DrB LFTE
  • Loading branch information
Shinsina authored Feb 2, 2024
2 parents c538198 + f919e65 commit 02e39ea
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 10 deletions.
4 changes: 2 additions & 2 deletions packages/common/components/blocks/marko.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"<common-external-api-block>": {
"template": "./external-api.marko"
},
"<common-am-footer-block>": {
"template": "am-footer.marko"
"<common-new-footer-block>": {
"template": "new-footer.marko"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ $ const stealthLinkStyle = {
<tr>
<td align="left" valign="top" style=standardStyle>
<span style="font-size:17px;line-height:22px;color:#ffffff;font-family:'Roboto', Arial, sans-serif;padding:none;">
You are receiving this email because you subscribed to receive relevant news from AuntMinnie.com.
You are receiving this email because you subscribed to receive relevant news from ${website.get("name")}.
<a href=preferenceCenterUrl style="color:#ffffff;font-family:'Roboto', Arial, sans-serif;padding:none; text-decoration:underline!important;">Click here to unsubscribe</a>.
</span>
</td>
Expand Down
4 changes: 3 additions & 1 deletion tenants/all/config/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ const config = {
src: '/files/base/smg/all/image/static/drb/DrB_EmailHeader_LFTE_v3.jpg',
footerWidth: 200,
},
preferenceCenter: 'https://www.drbicuspid.com/user/subscribe',
preferenceCenter: 'https://my.drbicuspid.com/unsubscribe/',
subTitle: 'DrBicuspid Daily Newsletter',
subID: '2712ea70-a46a-4b40-91bb-e00c38647657',
caseBlock: true,
},
'drb-breaking-news': {
Expand Down
2 changes: 1 addition & 1 deletion tenants/all/templates/am-breaking-news.marko
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ $ const { newsletter } = data;

<common-breaking-news-layout data=data>
<@footer>
<common-am-footer-block newsletter=newsletter />
<common-new-footer-block newsletter=newsletter />
</@footer>
</common-breaking-news-layout>
2 changes: 1 addition & 1 deletion tenants/all/templates/am-case-of-the-week.marko
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ $ const resolvedToNodesConverter = ({ resolved }) => (resolved.map((node) => ({

</@body>
<@footer>
<common-am-footer-block newsletter=newsletter />
<common-new-footer-block newsletter=newsletter />
</@footer>
</common-body-wrapper-block>
</@body>
Expand Down
2 changes: 1 addition & 1 deletion tenants/all/templates/am-community-insider.marko
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ $ const { newsletter } = data;

<common-insider-layout data=data display-limit=16>
<@footer>
<common-am-footer-block newsletter=newsletter />
<common-new-footer-block newsletter=newsletter />
</@footer>
</common-insider-layout>
2 changes: 1 addition & 1 deletion tenants/all/templates/am-lfte.marko
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ $ const resolvedToNodesConverter = ({ resolved }) => (resolved.map((node) => ({

</@body>
<@footer>
<common-am-footer-block newsletter=newsletter />
<common-new-footer-block newsletter=newsletter />
</@footer>
</common-body-wrapper-block>
</@body>
Expand Down
2 changes: 1 addition & 1 deletion tenants/all/templates/am-senl.marko
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ $ const { newsletter } = data;

<common-senl-layout data=data>
<@footer>
<common-am-footer-block newsletter=newsletter />
<common-new-footer-block newsletter=newsletter />
</@footer>
</common-senl-layout>
2 changes: 1 addition & 1 deletion tenants/all/templates/ame-lfte.marko
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ $ const resolvedToNodesConverter = ({ resolved }) => (resolved.map((node) => ({

</@body>
<@footer>
<common-am-footer-block newsletter=newsletter />
<common-new-footer-block newsletter=newsletter />
</@footer>
</common-body-wrapper-block>
</@body>
Expand Down
3 changes: 3 additions & 0 deletions tenants/all/templates/drb-lfte.marko
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ $ const resolvedToNodesConverter = ({ resolved }) => (resolved.map((node) => ({
/>

</@body>
<@footer>
<common-new-footer-block newsletter=newsletter />
</@footer>
</common-body-wrapper-block>
</@body>
</marko-newsletter-root>

0 comments on commit 02e39ea

Please sign in to comment.