diff --git a/apps/app/public/locales/en/landingPage.json b/apps/app/public/locales/en/landingPage.json index 3048a20f45..378bf8e3bc 100644 --- a/apps/app/public/locales/en/landingPage.json +++ b/apps/app/public/locales/en/landingPage.json @@ -1,5 +1,6 @@ { "banner": { + "donate": "Help keep InReach free for everyone. Donate now! 💝", "redesign": "Read about the launch of the InReach App redesign on our blog. Learn more." }, "call-out": { diff --git a/apps/app/src/pages/index.tsx b/apps/app/src/pages/index.tsx index 9a8b97d2a5..13a0fe2a39 100644 --- a/apps/app/src/pages/index.tsx +++ b/apps/app/src/pages/index.tsx @@ -186,7 +186,7 @@ const Home: NextPageWithOptions = () => { { external variant={variants.Link.inheritStyle} href='https://inreach.org/introducing-the-redesigned-inreach-app' + target='_blank' + > + ), + DonateLink: ( + ), }} diff --git a/packages/ui/components/core/Donate/index.tsx b/packages/ui/components/core/Donate/index.tsx index 8f219347b1..8e37a98808 100644 --- a/packages/ui/components/core/Donate/index.tsx +++ b/packages/ui/components/core/Donate/index.tsx @@ -76,6 +76,7 @@ export const DonateModal = () => { const isSupportPage = router.pathname === '/support' const showPopover = !isSupportPage && (opened || !showEmoji) + const isMainPage = router.pathname === '/' return ( <> @@ -96,7 +97,10 @@ export const DonateModal = () => { zIndex={200} > - +