Commit b8b4f960 authored by Kaylee George's avatar Kaylee George Committed by GitHub

fix: tokens banner link works (#4522)

* maybe fixed?

* fix

* fix link
parent 24664143
...@@ -44,12 +44,15 @@ const HeaderText = styled(Link)` ...@@ -44,12 +44,15 @@ const HeaderText = styled(Link)`
font-size: 14px; font-size: 14px;
line-height: 20px; line-height: 20px;
text-decoration: none; text-decoration: none;
color: ${({ theme }) => theme.textPrimary};
` `
const Description = styled.span` const Description = styled(Link)`
font-weight: 400; font-weight: 400;
font-size: 12px; font-size: 12px;
line-height: 16px; line-height: 16px;
width: 75%; width: 75%;
text-decoration: none;
color: ${({ theme }) => theme.textPrimary};
` `
export default function TokensBanner() { export default function TokensBanner() {
...@@ -63,13 +66,15 @@ export default function TokensBanner() { ...@@ -63,13 +66,15 @@ export default function TokensBanner() {
return ( return (
<PopupContainer show={showTokensPromoBanner}> <PopupContainer show={showTokensPromoBanner}>
<Header> <Header>
<HeaderText to={'/#/tokens'} onClick={closeBanner}> <HeaderText to={'/tokens'} onClick={closeBanner}>
Explore Top Tokens Explore Top Tokens
</HeaderText> </HeaderText>
<X size={20} color={theme.textSecondary} onClick={closeBanner} style={{ cursor: 'pointer' }} /> <X size={20} color={theme.textSecondary} onClick={closeBanner} style={{ cursor: 'pointer' }} />
</Header> </Header>
<Description onClick={closeBanner}>Check out the new explore tab to discover and learn more</Description> <Description to={'/tokens'} onClick={closeBanner}>
Check out the new explore tab to discover and learn more
</Description>
</PopupContainer> </PopupContainer>
) )
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment