Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
interface
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LuckySwap
interface
Commits
b8b4f960
Unverified
Commit
b8b4f960
authored
Aug 29, 2022
by
Kaylee George
Committed by
GitHub
Aug 29, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: tokens banner link works (#4522)
* maybe fixed? * fix * fix link
parent
24664143
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
TokensBanner.tsx
src/components/Tokens/TokensBanner.tsx
+8
-3
No files found.
src/components/Tokens/TokensBanner.tsx
View file @
b8b4f960
...
...
@@ -44,12 +44,15 @@ const HeaderText = styled(Link)`
font-size: 14px;
line-height: 20px;
text-decoration: none;
color:
${({
theme
})
=>
theme
.
textPrimary
}
;
`
const
Description
=
styled
.
span
`
const
Description
=
styled
(
Link
)
`
font-weight: 400;
font-size: 12px;
line-height: 16px;
width: 75%;
text-decoration: none;
color:
${({
theme
})
=>
theme
.
textPrimary
}
;
`
export
default
function
TokensBanner
()
{
...
...
@@ -63,13 +66,15 @@ export default function TokensBanner() {
return
(
<
PopupContainer
show=
{
showTokensPromoBanner
}
>
<
Header
>
<
HeaderText
to=
{
'
/
#/
tokens
'
}
onClick=
{
closeBanner
}
>
<
HeaderText
to=
{
'
/tokens
'
}
onClick=
{
closeBanner
}
>
Explore Top Tokens
</
HeaderText
>
<
X
size=
{
20
}
color=
{
theme
.
textSecondary
}
onClick=
{
closeBanner
}
style=
{
{
cursor
:
'
pointer
'
}
}
/>
</
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
>
)
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment