From c8a94650d3a8a4e9fd2d49674e023cc490da196b Mon Sep 17 00:00:00 2001 From: Jessica Wade Date: Wed, 14 Jun 2023 19:45:50 -0500 Subject: [PATCH 1/2] Add check for footer logo --- packages/common/components/blocks/footer.marko | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/packages/common/components/blocks/footer.marko b/packages/common/components/blocks/footer.marko index edaac01..9aef526 100644 --- a/packages/common/components/blocks/footer.marko +++ b/packages/common/components/blocks/footer.marko @@ -10,6 +10,9 @@ $ const tagline = get(newsletterConfig, "tagline"); $ const subscribeLink = get(newsletterConfig, "subscribeLink"); $ const publicationName = website.get("name"); $ const footerWidth = defaultValue(get(newsletterConfig, "logo.footerWidth"), 130); +$ const url = buildLinkUrl(website.get("origin")); +$ const logoFooterSrc = newsletterConfig.logo.footerSrc; +$ const alt = defaultValue(input.alt, newsletter.name); $ const preferenceCenterUrl = buildLinkUrl( get(newsletterConfig, "preferenceCenter"), @@ -78,7 +81,19 @@ $ const stealthLinkStyle = { - + + + <@link href=url target="_blank" /> + + + + + From 9138783fe16b2d11259a6b6f00e4ab36ec863552 Mon Sep 17 00:00:00 2001 From: Jessica Wade Date: Wed, 14 Jun 2023 19:45:57 -0500 Subject: [PATCH 2/2] Add footer logo --- tenants/all/config/core.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tenants/all/config/core.js b/tenants/all/config/core.js index 76c2d9d..6687bd3 100644 --- a/tenants/all/config/core.js +++ b/tenants/all/config/core.js @@ -79,6 +79,7 @@ const config = { name: 'Sample', logo: { src: '/files/base/smg/all/image/static/drb/DrB_EmailHeader_Sample_v3.jpg', + footerSrc: '/files/base/smg/all/image/static/drb/DrBLogo_WhiteText.png', footerWidth: 200, }, preferenceCenter: 'https://www.drbicuspid.com/user/subscribe',