Browse Source

Updated the url for campaign analytics

develop
Juan Cortes Ross 6 years ago
parent
commit
bdbdedc0c2
No known key found for this signature in database GPG Key ID: 34A99C03E9455EB8
  1. 6
      src/components/DashboardPage/index.js
  2. 5
      src/config/urls.js

6
src/components/DashboardPage/index.js

@ -96,11 +96,13 @@ class DashboardPage extends PureComponent<Props> {
message: t('banners.promoteMobile'),
Icon: IconNanoX,
right: (
<FakeLink onClick={() => openURL(urls.nanoX)}>{t('common.learnMore')}</FakeLink>
<FakeLink onClick={() => openURL(urls.promoNanoX)}>
{t('common.learnMore')}
</FakeLink>
),
}}
status={'dark'}
bannerId={'promoteMobile2'}
bannerId={'promoNanoX'}
dismissable
/>
</TopBannerContainer>

5
src/config/urls.js

@ -8,8 +8,9 @@ export const urls = {
github: 'https://github.com/LedgerHQ/ledger-live-desktop',
reddit: 'https://www.reddit.com/r/ledgerwallet/',
// Products
nanoX: 'https://www.ledger.com/pages/ledger-nano-x',
// Campaigns
promoNanoX:
'https://www.ledger.com/pages/ledger-nano-x#utm_source=Ledger%20Live%20Desktop%20App&utm_medium=Ledger%20Live&utm_campaign=Ledger%20Live%20Desktop%20-%20Banner%20LNX',
// Ledger support
faq: 'https://support.ledgerwallet.com/hc/en-us',

Loading…
Cancel
Save