@@ -5,7 +5,7 @@ import { breakpointTinyTablet } from 'common/constants'
55import { breakpointLargeHandset } from 'common/constants'
66import { useTranslation } from 'next-i18next'
77import { ArrowRightIcon } from '@ui/icons/ArrowRightIcon'
8- import Link from 'next/link'
8+
99const bannerBackground = css `
1010 width : 100% ;
1111 background : # 008078 ;
@@ -58,9 +58,7 @@ const bannerBackground = css`
5858`
5959
6060export const BannerGoodbye = ( ) => {
61- const { t, i18n } = useTranslation ( )
62- const currentLanguage = i18n . language . toLowerCase ( )
63- const linkToFarewell = currentLanguage === 'en' || currentLanguage === 'en-us'
61+ const { t } = useTranslation ( )
6462
6563 return (
6664 < div className = { bannerBackground } >
@@ -72,15 +70,9 @@ export const BannerGoodbye = () => {
7270 'shutdown:banner-copy-short' ,
7371 'After much thought, we made the difficult decision to close Pocket. Thanks for being part of the journey.'
7472 ) }
75- { linkToFarewell ? (
76- < Link className = "call-to-action" href = "/farewell" >
77- < ArrowRightIcon /> { t ( 'shutdown:banner-readmore' , 'Read more' ) }
78- </ Link >
79- ) : (
80- < a href = "https://support.mozilla.org/en-US/kb/future-of-pocket" >
81- < ArrowRightIcon /> { t ( 'shutdown:banner-readmore' , 'Read more' ) }
82- </ a >
83- ) }
73+ < a href = "https://support.mozilla.org/en-US/kb/future-of-pocket" >
74+ < ArrowRightIcon /> { t ( 'shutdown:banner-readmore' , 'Read more' ) }
75+ </ a >
8476 </ p >
8577 </ div >
8678 </ div >
0 commit comments