Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
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
vicotor
frontend
Commits
0f7de1dc
Commit
0f7de1dc
authored
Oct 30, 2024
by
Max Alekseenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update badges section
parent
ac770e59
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
8 deletions
+20
-8
RewardsDashboard.tsx
ui/pages/RewardsDashboard.tsx
+20
-8
No files found.
ui/pages/RewardsDashboard.tsx
View file @
0f7de1dc
...
@@ -144,13 +144,19 @@ const RewardsDashboard = () => {
...
@@ -144,13 +144,19 @@ const RewardsDashboard = () => {
<
RewardsDashboardCard
<
RewardsDashboardCard
title=
"Badges"
title=
"Badges"
description=
{
(
description=
{
(
<
span
>
<
Flex
flexDir=
"column"
gap=
{
2
}
>
Collect limited and legendary badges by completing different Blockscout related tasks. Go to
{
'
'
}
<
span
>
<
LinkExternal
href=
"https://badges.blockscout.com?utm_source=blockscout&utm_medium=merits-dashboard"
>
Collect limited and legendary badges by completing different Blockscout related tasks.
the badges website
Go to the badges website to see what
{
apos
}
s available and start your collection!
</
span
>
<
LinkExternal
href=
"https://badges.blockscout.com?utm_source=blockscout&utm_medium=merits-dashboard"
fontSize=
"md"
fontWeight=
"500"
>
Go to website
</
LinkExternal
>
</
LinkExternal
>
{
'
'
}
to see what
{
apos
}
s available and start your collection!
</
Flex
>
</
span
>
)
}
)
}
direction=
"row"
direction=
"row"
availableSoon
availableSoon
...
@@ -164,10 +170,16 @@ const RewardsDashboard = () => {
...
@@ -164,10 +170,16 @@ const RewardsDashboard = () => {
{
Array
(
5
).
fill
(
null
).
map
((
_
,
index
)
=>
(
{
Array
(
5
).
fill
(
null
).
map
((
_
,
index
)
=>
(
<
Image
<
Image
key=
{
index
}
key=
{
index
}
display=
{
{
base
:
index
>
2
?
'
none
'
:
'
block
'
,
md
:
'
block
'
}
}
src=
{
`/static/badges/badge_${ index + 1 }.svg`
}
src=
{
`/static/badges/badge_${ index + 1 }.svg`
}
alt=
{
`Badge ${ index + 1 }`
}
alt=
{
`Badge ${ index + 1 }`
}
boxSize=
{
{
base
:
'
50px
'
,
md
:
'
100px
'
}
}
boxSize=
{
{
base
:
'
80px
'
,
md
:
'
100px
'
}
}
fallback=
{
<
Skeleton
boxSize=
{
{
base
:
'
50px
'
,
md
:
'
100px
'
}
}
/>
}
fallback=
{
(
<
Skeleton
boxSize=
{
{
base
:
'
80px
'
,
md
:
'
100px
'
}
}
display=
{
{
base
:
index
>
2
?
'
none
'
:
'
block
'
,
md
:
'
block
'
}
}
/>
)
}
/>
/>
))
}
))
}
</
Flex
>
</
Flex
>
...
...
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