Skip to content

Commit

Permalink
Merge pull request #5 from jwade1327/footer
Browse files Browse the repository at this point in the history
Update unsubscribe text in footer
  • Loading branch information
jwade1327 authored Nov 9, 2022
2 parents 5d2dab7 + 001fd37 commit 67af7b7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
16 changes: 7 additions & 9 deletions packages/common/components/blocks/footer.marko
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ $ const standardStyle = {
"padding": "0 15px",
};

$ const linkStyle = {
...standardStyle,
"padding": "none",
"text-decoration": "none!important"
};

$ const standardUnderlineStyle = {
...standardStyle,
"text-decoration": "underline",
Expand Down Expand Up @@ -144,17 +150,9 @@ $ const stealthLinkStyle = {

<tr>
<td align="left" valign="top" style=standardStyle>
You are receiving this email because you subscribed to receive relevant news from ${publicationName}.
You are receiving this email because you subscribed to receive relevant news from ${publicationName}. To update your email subscriptions, visit the LabPulse <a href=get(newsletterConfig, "preferenceCenter") style=linkStyle>preference center</a>.
</td>
</tr>
<!-- <common-table-spacer-element height="19" />
<tr>
<td align="left" valign="top" style=smallerStyle>
<a href="@{confirmunsubscribelink}@" style=smallerUnderlineStyle>
Unsubscribe here
</a>
</td>
</tr> -->
<common-table-spacer-element height="19" />
<tr>
<td align="left" valign="top" style=smallerStyle>
Expand Down
4 changes: 0 additions & 4 deletions tenants/all/config/brands.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,5 @@ module.exports = {
{ provider: 'linkedin', href: 'https://www.linkedin.com/company/labpulse/', target: '_blank' },
],
},
footer: {
tagline: '',
subscribeLink: '',
},
},
};
1 change: 1 addition & 0 deletions tenants/all/config/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const config = {
'letter-from-the-editor': {
...brands.labPulse,
name: 'Letter From The Editor',
preferenceCenter: 'https://www.labpulse.com/user/subscribe?email=%7b%7b%24%7bemail_address%7d%7d%7d',
},
};

Expand Down

0 comments on commit 67af7b7

Please sign in to comment.