Skip to content

Commit

Permalink
add two mobile only links to the reader revenue links section for the…
Browse files Browse the repository at this point in the history
… US edition
  • Loading branch information
cemms1 committed Nov 22, 2024
1 parent c9808f8 commit a0c193f
Showing 1 changed file with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,22 @@ export const ReaderRevenueLinks = ({
referrerUrl,
});

/** Additional links configured to only appear on the US edition */
const usEditionLinks = [
{
longTitle: 'Newsletters',
title: 'Newsletters',
mobileOnly: true,
url: '/email-newsletters',
},
{
longTitle: 'Download the app',
title: 'Download the app',
mobileOnly: true,
url: 'https://app.adjust.com/1hskf6nd?adgroup=USHeader',
},
];

const links: LinkType[] = [
{
longTitle: 'Support us',
Expand All @@ -83,6 +99,7 @@ export const ReaderRevenueLinks = ({
mobileOnly: true,
url: printSubUrl,
},
...(editionId === 'US' ? usEditionLinks : []),
];

return (
Expand Down

0 comments on commit a0c193f

Please sign in to comment.