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
7f10c98e
Unverified
Commit
7f10c98e
authored
Jun 19, 2025
by
tom goriunov
Committed by
GitHub
Jun 19, 2025
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2789 from blockscout/release/v2-1-1
Release v2.1.1
parents
3d517141
5315563c
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
16 additions
and
20 deletions
+16
-20
.env.optimism
configs/envs/.env.optimism
+1
-1
stage-1.svg
icons/rollup/stage-1.svg
+0
-4
stage-2.svg
icons/rollup/stage-2.svg
+0
-4
name.d.ts
public/icons/name.d.ts
+0
-3
stage-1.svg
public/static/labels/stage-1.svg
+4
-0
stage-2.svg
public/static/labels/stage-2.svg
+4
-0
testnet.svg
public/static/labels/testnet.svg
+2
-2
RollupStageBadge.tsx
ui/snippets/navigation/RollupStageBadge.tsx
+3
-4
TestnetBadge.tsx
ui/snippets/navigation/TestnetBadge.tsx
+2
-2
No files found.
configs/envs/.env.optimism
View file @
7f10c98e
...
@@ -9,7 +9,7 @@ NEXT_PUBLIC_APP_PORT=3000
...
@@ -9,7 +9,7 @@ NEXT_PUBLIC_APP_PORT=3000
NEXT_PUBLIC_APP_ENV=development
NEXT_PUBLIC_APP_ENV=development
NEXT_PUBLIC_API_WEBSOCKET_PROTOCOL=ws
NEXT_PUBLIC_API_WEBSOCKET_PROTOCOL=ws
NEXT_PUBLIC_ROLLUP_STAGE_INDEX=
2
NEXT_PUBLIC_ROLLUP_STAGE_INDEX=
1
NEXT_PUBLIC_IS_TESTNET=false
NEXT_PUBLIC_IS_TESTNET=false
# Instance ENVs
# Instance ENVs
...
...
icons/rollup/stage-1.svg
deleted
100644 → 0
View file @
3d517141
<svg
viewBox=
"0 0 42 14"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<rect
x=
".2"
y=
".2"
width=
"41.6"
height=
"13.6"
rx=
"3.8"
stroke=
"currentColor"
stroke-width=
".4"
/>
<path
d=
"M37.398 3.718v6.545h-.991V4.708h-.038l-1.566 1.023v-.946l1.633-1.067h.962ZM28.302 10.263V3.718h4.104v.85H29.29v1.994h2.902v.847H29.29v2.004h3.154v.85h-4.142ZM25.896 5.785a1.995 1.995 0 0 0-.249-.52 1.593 1.593 0 0 0-.857-.65 1.966 1.966 0 0 0-.597-.086 1.81 1.81 0 0 0-.997.285c-.297.19-.53.468-.704.834-.17.364-.255.81-.255 1.34s.086.978.259 1.345c.172.366.409.644.71.834.3.19.642.284 1.025.284.356 0 .666-.072.93-.217.266-.145.472-.35.617-.614.147-.266.22-.58.22-.94l.256.049h-1.873v-.815h2.573v.744c0 .55-.117 1.027-.351 1.432a2.394 2.394 0 0 1-.966.933c-.409.22-.878.33-1.406.33-.592 0-1.112-.137-1.56-.41a2.772 2.772 0 0 1-1.041-1.16c-.25-.502-.374-1.1-.374-1.79 0-.521.072-.99.217-1.406.145-.415.348-.768.61-1.058.265-.291.575-.514.93-.668a2.912 2.912 0 0 1 1.173-.233c.354 0 .683.052.988.157.307.104.58.252.818.444a2.515 2.515 0 0 1 .917 1.556h-1.013ZM16.115 10.263h-1.048l2.355-6.545h1.141l2.356 6.545H19.87l-1.85-5.356h-.051l-1.854 5.356Zm.176-2.563h3.4v.83h-3.4V7.7ZM10.203 4.568v-.85h5.065v.85h-2.042v5.695h-.984V4.568h-2.04ZM8.431 5.437a.934.934 0 0 0-.421-.703c-.248-.168-.559-.252-.934-.252-.268 0-.5.042-.696.127a1.073 1.073 0 0 0-.457.346.815.815 0 0 0-.16.495c0 .155.036.29.108.403a.975.975 0 0 0 .291.284c.122.075.252.137.39.189.139.049.272.09.4.121l.639.166c.209.051.423.12.642.208.22.087.423.202.61.345.188.143.34.32.454.53.118.212.176.464.176.758 0 .37-.096.7-.287.988-.19.287-.466.514-.828.68-.36.167-.796.25-1.307.25-.49 0-.914-.078-1.272-.233a1.959 1.959 0 0 1-.84-.662 1.918 1.918 0 0 1-.336-1.023h.99c.02.237.096.434.23.591.137.156.31.272.521.349.213.074.447.112.7.112.28 0 .528-.044.745-.131.22-.09.392-.213.518-.371a.878.878 0 0 0 .188-.56.686.686 0 0 0-.166-.476 1.228 1.228 0 0 0-.444-.306 4.342 4.342 0 0 0-.63-.215l-.773-.21c-.524-.143-.94-.353-1.247-.63-.304-.277-.457-.644-.457-1.1 0-.377.103-.706.307-.987.205-.281.482-.5.831-.655.35-.158.744-.237 1.183-.237.443 0 .834.078 1.173.233.34.156.609.37.805.643.196.27.298.582.307.933H8.43Z"
fill=
"currentColor"
/>
</svg>
icons/rollup/stage-2.svg
deleted
100644 → 0
View file @
3d517141
<svg
viewBox=
"0 0 42 14"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<rect
x=
".2"
y=
".2"
width=
"41.6"
height=
"13.6"
rx=
"3.8"
stroke=
"currentColor"
stroke-width=
".4"
/>
<path
d=
"M33.949 10.263v-.716l2.215-2.295c.236-.249.431-.467.585-.655.155-.19.271-.37.348-.54.077-.17.115-.351.115-.543a1.01 1.01 0 0 0-.153-.563 1.002 1.002 0 0 0-.419-.367 1.332 1.332 0 0 0-.598-.131c-.234 0-.439.048-.613.144a.985.985 0 0 0-.403.405c-.094.175-.14.38-.14.614h-.943c0-.398.091-.747.275-1.045.183-.298.434-.53.754-.694.32-.166.683-.249 1.09-.249.41 0 .773.082 1.086.246.316.162.562.384.738.665.177.28.266.595.266.946 0 .243-.046.48-.138.713-.09.232-.246.49-.47.776-.223.284-.534.628-.933 1.033l-1.3 1.361v.048h2.946v.847H33.95ZM27.443 10.263V3.718h4.103v.85H28.43v1.994h2.902v.847H28.43v2.004h3.155v.85h-4.142ZM25.036 5.785a1.998 1.998 0 0 0-.249-.52 1.593 1.593 0 0 0-.856-.65 1.967 1.967 0 0 0-.598-.086 1.81 1.81 0 0 0-.997.285c-.296.19-.53.468-.703.834-.17.364-.256.81-.256 1.34s.086.978.259 1.345c.172.366.409.644.71.834.3.19.642.284 1.025.284.356 0 .666-.072.93-.217.267-.145.472-.35.617-.614.147-.266.22-.58.22-.94l.256.049h-1.872v-.815h2.572v.744c0 .55-.117 1.027-.351 1.432a2.393 2.393 0 0 1-.965.933c-.41.22-.878.33-1.407.33-.592 0-1.112-.137-1.56-.41a2.773 2.773 0 0 1-1.041-1.16c-.25-.502-.374-1.1-.374-1.79 0-.521.072-.99.217-1.406.145-.415.348-.768.61-1.058.265-.291.575-.514.93-.668a2.911 2.911 0 0 1 1.174-.233c.353 0 .682.052.987.157.307.104.58.252.818.444a2.516 2.516 0 0 1 .917 1.556h-1.013ZM15.255 10.263h-1.048l2.355-6.545h1.141l2.356 6.545H19.01l-1.85-5.356h-.052l-1.854 5.356Zm.176-2.563h3.4v.83h-3.4V7.7ZM9.38 4.568v-.85h5.067v.85h-2.043v5.695h-.984V4.568H9.38ZM7.572 5.437a.934.934 0 0 0-.422-.703c-.248-.168-.559-.252-.934-.252-.268 0-.5.042-.696.127a1.073 1.073 0 0 0-.457.346.815.815 0 0 0-.16.495c0 .155.036.29.109.403a.975.975 0 0 0 .29.284c.122.075.252.137.39.189a4.4 4.4 0 0 0 .4.121l.639.166c.209.051.423.12.642.208.22.087.423.202.61.345a1.537 1.537 0 0 1 .63 1.288c0 .37-.095.7-.287.988-.19.287-.466.514-.828.68-.36.167-.796.25-1.307.25-.49 0-.914-.078-1.272-.233a1.959 1.959 0 0 1-.84-.662 1.918 1.918 0 0 1-.336-1.023h.99c.02.237.096.434.23.591.137.156.31.272.522.349.213.074.446.112.7.112.279 0 .527-.044.744-.131.22-.09.392-.213.518-.371a.878.878 0 0 0 .188-.56.686.686 0 0 0-.166-.476 1.228 1.228 0 0 0-.444-.306 4.342 4.342 0 0 0-.63-.215l-.773-.21c-.524-.143-.94-.353-1.247-.63-.304-.277-.457-.644-.457-1.1 0-.377.103-.706.307-.987.205-.281.482-.5.831-.655.35-.158.744-.237 1.183-.237.443 0 .834.078 1.173.233.34.156.61.37.805.643.196.27.298.582.307.933h-.952Z"
fill=
"currentColor"
/>
</svg>
public/icons/name.d.ts
View file @
7f10c98e
...
@@ -135,8 +135,6 @@
...
@@ -135,8 +135,6 @@
|
"
restAPI
"
|
"
restAPI
"
|
"
rocket_xl
"
|
"
rocket_xl
"
|
"
rocket
"
|
"
rocket
"
|
"
rollup/stage-1
"
|
"
rollup/stage-2
"
|
"
RPC
"
|
"
RPC
"
|
"
scope
"
|
"
scope
"
|
"
score/score-not-ok
"
|
"
score/score-not-ok
"
...
@@ -171,7 +169,6 @@
...
@@ -171,7 +169,6 @@
|
"
status/warning
"
|
"
status/warning
"
|
"
sun
"
|
"
sun
"
|
"
swap
"
|
"
swap
"
|
"
testnet
"
|
"
token-placeholder
"
|
"
token-placeholder
"
|
"
token-transfers
"
|
"
token-transfers
"
|
"
token
"
|
"
token
"
...
...
public/static/labels/stage-1.svg
0 → 100644
View file @
7f10c98e
<svg
viewBox=
"0 0 42 14"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<rect
x=
".2"
y=
".2"
width=
"41.6"
height=
"13.6"
rx=
"3.8"
stroke=
"#D69E2E"
stroke-width=
".4"
/>
<path
d=
"M37.398 3.718v6.545h-.991V4.708h-.038l-1.566 1.023v-.946l1.633-1.067h.962Zm-9.096 6.545V3.718h4.104v.85H29.29v1.994h2.902v.847H29.29v2.004h3.154v.85h-4.142Zm-2.406-4.478a1.995 1.995 0 0 0-.249-.52 1.593 1.593 0 0 0-.857-.65 1.966 1.966 0 0 0-.597-.086 1.81 1.81 0 0 0-.997.285c-.297.19-.53.468-.704.834-.17.364-.255.81-.255 1.34s.086.978.259 1.345c.172.366.409.644.71.834.3.19.642.284 1.025.284.356 0 .666-.072.93-.217a1.52 1.52 0 0 0 .617-.614c.147-.266.22-.58.22-.94l.256.049h-1.873v-.815h2.573v.744c0 .55-.117 1.027-.351 1.432a2.394 2.394 0 0 1-.966.933c-.409.22-.878.33-1.406.33-.592 0-1.112-.137-1.56-.41a2.772 2.772 0 0 1-1.041-1.16c-.25-.502-.374-1.1-.374-1.79 0-.521.072-.99.217-1.406.145-.415.348-.768.61-1.058a2.7 2.7 0 0 1 .93-.668 2.912 2.912 0 0 1 1.173-.233c.354 0 .683.052.988.157.307.104.58.252.818.444a2.515 2.515 0 0 1 .917 1.556h-1.013Zm-9.781 4.478h-1.048l2.355-6.545h1.141l2.356 6.545H19.87l-1.85-5.356h-.051l-1.854 5.356Zm.176-2.563h3.4v.83h-3.4V7.7Zm-6.088-3.132v-.85h5.065v.85h-2.042v5.695h-.984V4.568h-2.04Zm-1.772.869a.934.934 0 0 0-.421-.703c-.248-.168-.559-.252-.934-.252-.268 0-.5.042-.696.127a1.073 1.073 0 0 0-.457.346.815.815 0 0 0-.16.495c0 .155.036.29.108.403a.975.975 0 0 0 .291.284c.122.075.252.137.39.189.139.049.272.09.4.121l.639.166c.209.051.423.12.642.208.22.087.423.202.61.345.188.143.34.32.454.53.118.212.176.464.176.758 0 .37-.096.7-.287.988-.19.287-.466.514-.828.68-.36.167-.796.25-1.307.25-.49 0-.914-.078-1.272-.233a1.959 1.959 0 0 1-.84-.662 1.918 1.918 0 0 1-.336-1.023h.99c.02.237.096.434.23.591.137.156.31.272.521.349.213.074.447.112.7.112.28 0 .528-.044.745-.131.22-.09.392-.213.518-.371a.878.878 0 0 0 .188-.56.686.686 0 0 0-.166-.476 1.228 1.228 0 0 0-.444-.306 4.342 4.342 0 0 0-.63-.215l-.773-.21c-.524-.143-.94-.353-1.247-.63-.304-.277-.457-.644-.457-1.1 0-.377.103-.706.307-.987.205-.281.482-.5.831-.655.35-.158.744-.237 1.183-.237.443 0 .834.078 1.173.233.34.156.609.37.805.643.196.27.298.582.307.933H8.43Z"
fill=
"#D69E2E"
/>
</svg>
public/static/labels/stage-2.svg
0 → 100644
View file @
7f10c98e
<svg
viewBox=
"0 0 42 14"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<rect
x=
".2"
y=
".2"
width=
"41.6"
height=
"13.6"
rx=
"3.8"
stroke=
"#48BB78"
stroke-width=
".4"
/>
<path
d=
"M33.949 10.263v-.716l2.215-2.295c.236-.249.431-.467.585-.655.155-.19.271-.37.348-.54a1.3 1.3 0 0 0 .115-.543 1.01 1.01 0 0 0-.153-.563 1.002 1.002 0 0 0-.419-.367 1.332 1.332 0 0 0-.598-.131c-.234 0-.439.048-.613.144a.985.985 0 0 0-.403.405 1.28 1.28 0 0 0-.14.614h-.943c0-.398.091-.747.275-1.045.183-.298.434-.53.754-.694.32-.166.683-.249 1.09-.249.41 0 .773.082 1.086.246.316.162.562.384.738.665.177.28.266.595.266.946 0 .243-.046.48-.138.713-.09.232-.246.49-.47.776-.223.284-.534.628-.933 1.033l-1.3 1.361v.048h2.946v.847H33.95Zm-6.506 0V3.718h4.103v.85H28.43v1.994h2.902v.847H28.43v2.004h3.155v.85h-4.142Zm-2.407-4.478a1.998 1.998 0 0 0-.249-.52 1.593 1.593 0 0 0-.856-.65 1.967 1.967 0 0 0-.598-.086 1.81 1.81 0 0 0-.997.285c-.296.19-.53.468-.703.834-.17.364-.256.81-.256 1.34s.086.978.259 1.345c.172.366.409.644.71.834.3.19.642.284 1.025.284.356 0 .666-.072.93-.217.267-.145.472-.35.617-.614.147-.266.22-.58.22-.94l.256.049h-1.872v-.815h2.572v.744c0 .55-.117 1.027-.351 1.432a2.393 2.393 0 0 1-.965.933c-.41.22-.878.33-1.407.33-.592 0-1.112-.137-1.56-.41a2.773 2.773 0 0 1-1.041-1.16c-.25-.502-.374-1.1-.374-1.79 0-.521.072-.99.217-1.406.145-.415.348-.768.61-1.058a2.7 2.7 0 0 1 .93-.668 2.911 2.911 0 0 1 1.174-.233c.353 0 .682.052.987.157.307.104.58.252.818.444a2.516 2.516 0 0 1 .917 1.556h-1.013Zm-9.781 4.478h-1.048l2.355-6.545h1.141l2.356 6.545H19.01l-1.85-5.356h-.052l-1.854 5.356Zm.176-2.563h3.4v.83h-3.4V7.7ZM9.38 4.568v-.85h5.067v.85h-2.043v5.695h-.984V4.568H9.38Zm-1.808.869a.934.934 0 0 0-.422-.703c-.248-.168-.559-.252-.934-.252-.268 0-.5.042-.696.127a1.073 1.073 0 0 0-.457.346.815.815 0 0 0-.16.495c0 .155.036.29.109.403a.975.975 0 0 0 .29.284c.122.075.252.137.39.189a4.4 4.4 0 0 0 .4.121l.639.166c.209.051.423.12.642.208.22.087.423.202.61.345a1.537 1.537 0 0 1 .63 1.288c0 .37-.095.7-.287.988-.19.287-.466.514-.828.68-.36.167-.796.25-1.307.25-.49 0-.914-.078-1.272-.233a1.959 1.959 0 0 1-.84-.662 1.918 1.918 0 0 1-.336-1.023h.99c.02.237.096.434.23.591.137.156.31.272.522.349.213.074.446.112.7.112.279 0 .527-.044.744-.131.22-.09.392-.213.518-.371a.878.878 0 0 0 .188-.56.686.686 0 0 0-.166-.476 1.228 1.228 0 0 0-.444-.306 4.342 4.342 0 0 0-.63-.215l-.773-.21c-.524-.143-.94-.353-1.247-.63-.304-.277-.457-.644-.457-1.1 0-.377.103-.706.307-.987.205-.281.482-.5.831-.655.35-.158.744-.237 1.183-.237.443 0 .834.078 1.173.233.34.156.61.37.805.643.196.27.298.582.307.933h-.952Z"
fill=
"#48BB78"
/>
</svg>
icon
s/testnet.svg
→
public/static/label
s/testnet.svg
View file @
7f10c98e
<svg
viewBox=
"0 0 37 14"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<svg
viewBox=
"0 0 37 14"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
d=
"M6.467 5.14v.62H4v-.62h2.467ZM4.719 4h.731v4.537c0 .207.03.362.09.465.062.101.14.17.236.205.097.033.2.05.307.05.08 0 .146-.005.198-.013l.124-.025.149.657a1.529 1.529 0 0 1-.545.087c-.207 0-.41-.045-.608-.133a1.207 1.207 0 0 1-.49-.406c-.128-.182-.192-.412-.192-.688V4Zm4.793 6c-.459 0-.854-.101-1.187-.304a2.039 2.039 0 0 1-.766-.855c-.177-.368-.266-.796-.266-1.283 0-.488.089-.917.266-1.29.18-.373.43-.665.75-.873a2.016 2.016 0 0 1 1.129-.316c.247 0 .492.04.734.123.242.083.462.217.66.403.198.184.356.428.474.732s.177.677.177 1.122v.31h-3.67v-.633h2.926c0-.268-.054-.508-.161-.719a1.214 1.214 0 0 0-.452-.499 1.267 1.267 0 0 0-.688-.182c-.292 0-.544.072-.757.216-.21.143-.373.329-.486.558-.114.23-.17.476-.17.738v.421c0 .36.061.665.185.915.126.248.3.437.524.567.223.128.482.192.778.192.192 0 .366-.027.52-.08a1.1 1.1 0 0 0 .406-.249 1.12 1.12 0 0 0 .264-.415l.707.199c-.075.24-.2.45-.375.632-.176.18-.393.32-.651.421-.258.1-.549.149-.871.149Zm6.455-3.793-.657.186a1.219 1.219 0 0 0-.182-.32.888.888 0 0 0-.323-.26 1.17 1.17 0 0 0-.524-.102c-.29 0-.534.067-.728.201-.192.132-.288.3-.288.505 0 .182.066.326.198.431.133.106.34.193.62.264l.707.173c.425.103.743.261.951.474.209.211.313.483.313.815 0 .273-.078.517-.235.732a1.562 1.562 0 0 1-.651.508 2.377 2.377 0 0 1-.973.186c-.486 0-.888-.105-1.206-.316-.318-.21-.52-.519-.604-.924l.694-.173c.066.256.191.448.375.576.186.128.429.192.728.192.341 0 .612-.072.812-.217.203-.146.304-.322.304-.526a.554.554 0 0 0-.174-.416c-.115-.113-.293-.198-.533-.254l-.793-.186c-.436-.103-.756-.263-.96-.48a1.163 1.163 0 0 1-.304-.821c0-.269.075-.507.226-.713a1.54 1.54 0 0 1 .623-.487c.264-.118.564-.176.899-.176.47 0 .84.103 1.109.31.27.206.463.479.576.818Zm3.259-1.067v.62h-2.467v-.62h2.466ZM17.477 4h.73v4.537c0 .207.03.362.09.465.063.101.141.17.236.205.098.033.2.05.307.05.08 0 .147-.005.198-.013l.124-.025.15.657a1.528 1.528 0 0 1-.545.087 1.49 1.49 0 0 1-.609-.133 1.207 1.207 0 0 1-.49-.406c-.127-.182-.192-.412-.192-.688V4Zm3.58 3.037v2.864h-.731V5.14h.706v.743h.062a1.36 1.36 0 0 1 .508-.582c.228-.15.521-.223.88-.223.323 0 .605.066.847.198.241.13.43.328.564.595.134.264.201.6.201 1.004V9.9h-.731V6.926c0-.374-.097-.666-.291-.874-.195-.211-.461-.316-.8-.316-.233 0-.442.05-.626.151a1.087 1.087 0 0 0-.43.444c-.106.194-.159.43-.159.706ZM27.427 10c-.459 0-.855-.101-1.187-.304a2.038 2.038 0 0 1-.766-.855c-.177-.368-.266-.796-.266-1.283 0-.488.089-.917.266-1.29.18-.373.43-.665.75-.873a2.013 2.013 0 0 1 1.128-.316c.248 0 .493.04.735.123.241.083.462.217.66.403.198.184.356.428.474.732s.177.677.177 1.122v.31h-3.67v-.633h2.926c0-.268-.054-.508-.161-.719a1.214 1.214 0 0 0-.453-.499 1.267 1.267 0 0 0-.688-.182c-.291 0-.543.072-.756.216-.21.143-.373.329-.486.558a1.64 1.64 0 0 0-.17.738v.421c0 .36.061.665.185.915.126.248.3.437.524.567.223.128.482.192.778.192.192 0 .365-.027.52-.08.157-.056.293-.139.406-.249a1.12 1.12 0 0 0 .264-.415l.706.199c-.074.24-.199.45-.375.632-.175.18-.392.32-.65.421a2.4 2.4 0 0 1-.871.149Zm5.153-4.86v.62h-2.466v-.62h2.467ZM30.834 4h.731v4.537c0 .207.03.362.09.465.062.101.14.17.236.205.097.033.199.05.306.05.08 0 .147-.005.199-.013l.124-.025.148.657a1.528 1.528 0 0 1-.546.087c-.206 0-.408-.045-.607-.133a1.207 1.207 0 0 1-.49-.406c-.127-.182-.191-.412-.191-.688V4Z"
fill=
"
currentColor
"
/>
<path
d=
"M6.467 5.14v.62H4v-.62h2.467ZM4.719 4h.731v4.537c0 .207.03.362.09.465.062.101.14.17.236.205.097.033.2.05.307.05.08 0 .146-.005.198-.013l.124-.025.149.657a1.529 1.529 0 0 1-.545.087c-.207 0-.41-.045-.608-.133a1.207 1.207 0 0 1-.49-.406c-.128-.182-.192-.412-.192-.688V4Zm4.793 6c-.459 0-.854-.101-1.187-.304a2.039 2.039 0 0 1-.766-.855c-.177-.368-.266-.796-.266-1.283 0-.488.089-.917.266-1.29.18-.373.43-.665.75-.873a2.016 2.016 0 0 1 1.129-.316c.247 0 .492.04.734.123.242.083.462.217.66.403.198.184.356.428.474.732s.177.677.177 1.122v.31h-3.67v-.633h2.926c0-.268-.054-.508-.161-.719a1.214 1.214 0 0 0-.452-.499 1.267 1.267 0 0 0-.688-.182c-.292 0-.544.072-.757.216-.21.143-.373.329-.486.558-.114.23-.17.476-.17.738v.421c0 .36.061.665.185.915.126.248.3.437.524.567.223.128.482.192.778.192.192 0 .366-.027.52-.08a1.1 1.1 0 0 0 .406-.249 1.12 1.12 0 0 0 .264-.415l.707.199c-.075.24-.2.45-.375.632-.176.18-.393.32-.651.421-.258.1-.549.149-.871.149Zm6.455-3.793-.657.186a1.219 1.219 0 0 0-.182-.32.888.888 0 0 0-.323-.26 1.17 1.17 0 0 0-.524-.102c-.29 0-.534.067-.728.201-.192.132-.288.3-.288.505 0 .182.066.326.198.431.133.106.34.193.62.264l.707.173c.425.103.743.261.951.474.209.211.313.483.313.815 0 .273-.078.517-.235.732a1.562 1.562 0 0 1-.651.508 2.377 2.377 0 0 1-.973.186c-.486 0-.888-.105-1.206-.316-.318-.21-.52-.519-.604-.924l.694-.173c.066.256.191.448.375.576.186.128.429.192.728.192.341 0 .612-.072.812-.217.203-.146.304-.322.304-.526a.554.554 0 0 0-.174-.416c-.115-.113-.293-.198-.533-.254l-.793-.186c-.436-.103-.756-.263-.96-.48a1.163 1.163 0 0 1-.304-.821c0-.269.075-.507.226-.713a1.54 1.54 0 0 1 .623-.487c.264-.118.564-.176.899-.176.47 0 .84.103 1.109.31.27.206.463.479.576.818Zm3.259-1.067v.62h-2.467v-.62h2.466ZM17.477 4h.73v4.537c0 .207.03.362.09.465.063.101.141.17.236.205.098.033.2.05.307.05.08 0 .147-.005.198-.013l.124-.025.15.657a1.528 1.528 0 0 1-.545.087 1.49 1.49 0 0 1-.609-.133 1.207 1.207 0 0 1-.49-.406c-.127-.182-.192-.412-.192-.688V4Zm3.58 3.037v2.864h-.731V5.14h.706v.743h.062a1.36 1.36 0 0 1 .508-.582c.228-.15.521-.223.88-.223.323 0 .605.066.847.198.241.13.43.328.564.595.134.264.201.6.201 1.004V9.9h-.731V6.926c0-.374-.097-.666-.291-.874-.195-.211-.461-.316-.8-.316-.233 0-.442.05-.626.151a1.087 1.087 0 0 0-.43.444c-.106.194-.159.43-.159.706ZM27.427 10c-.459 0-.855-.101-1.187-.304a2.038 2.038 0 0 1-.766-.855c-.177-.368-.266-.796-.266-1.283 0-.488.089-.917.266-1.29.18-.373.43-.665.75-.873a2.013 2.013 0 0 1 1.128-.316c.248 0 .493.04.735.123.241.083.462.217.66.403.198.184.356.428.474.732s.177.677.177 1.122v.31h-3.67v-.633h2.926c0-.268-.054-.508-.161-.719a1.214 1.214 0 0 0-.453-.499 1.267 1.267 0 0 0-.688-.182c-.291 0-.543.072-.756.216-.21.143-.373.329-.486.558a1.64 1.64 0 0 0-.17.738v.421c0 .36.061.665.185.915.126.248.3.437.524.567.223.128.482.192.778.192.192 0 .365-.027.52-.08.157-.056.293-.139.406-.249a1.12 1.12 0 0 0 .264-.415l.706.199c-.074.24-.199.45-.375.632-.175.18-.392.32-.65.421a2.4 2.4 0 0 1-.871.149Zm5.153-4.86v.62h-2.466v-.62h2.467ZM30.834 4h.731v4.537c0 .207.03.362.09.465.062.101.14.17.236.205.097.033.199.05.306.05.08 0 .147-.005.199-.013l.124-.025.148.657a1.528 1.528 0 0 1-.546.087c-.206 0-.408-.045-.607-.133a1.207 1.207 0 0 1-.49-.406c-.127-.182-.191-.412-.191-.688V4Z"
fill=
"
#F56565
"
/>
<rect
x=
".2"
y=
".2"
width=
"36.267"
height=
"13.6"
rx=
"3.8"
stroke=
"
currentColor
"
stroke-width=
".4"
/>
<rect
x=
".2"
y=
".2"
width=
"36.267"
height=
"13.6"
rx=
"3.8"
stroke=
"
#F56565
"
stroke-width=
".4"
/>
</svg>
</svg>
ui/snippets/navigation/RollupStageBadge.tsx
View file @
7f10c98e
...
@@ -2,9 +2,9 @@ import type { HTMLChakraProps } from '@chakra-ui/react';
...
@@ -2,9 +2,9 @@ import type { HTMLChakraProps } from '@chakra-ui/react';
import
React
from
'
react
'
;
import
React
from
'
react
'
;
import
config
from
'
configs/app
'
;
import
config
from
'
configs/app
'
;
import
{
Image
}
from
'
toolkit/chakra/image
'
;
import
{
Link
}
from
'
toolkit/chakra/link
'
;
import
{
Link
}
from
'
toolkit/chakra/link
'
;
import
{
Tooltip
}
from
'
toolkit/chakra/tooltip
'
;
import
{
Tooltip
}
from
'
toolkit/chakra/tooltip
'
;
import
IconSvg
from
'
ui/shared/IconSvg
'
;
const
feature
=
config
.
features
.
rollup
;
const
feature
=
config
.
features
.
rollup
;
...
@@ -27,11 +27,10 @@ const RollupStageBadge = (props: HTMLChakraProps<'div'>) => {
...
@@ -27,11 +27,10 @@ const RollupStageBadge = (props: HTMLChakraProps<'div'>) => {
return
(
return
(
<
Tooltip
content=
{
tooltipContent
}
interactive
>
<
Tooltip
content=
{
tooltipContent
}
interactive
>
<
I
conSvg
<
I
mage
name=
{
feature
.
stageIndex
===
'
1
'
?
'
rollup/stage-1
'
:
'
rollup/stage-2
'
}
src=
{
feature
.
stageIndex
===
'
1
'
?
'
/static/labels/stage-1.svg
'
:
'
/static/labels/stage-2.svg
'
}
h=
"14px"
h=
"14px"
w=
"42px"
w=
"42px"
color=
{
feature
.
stageIndex
===
'
1
'
?
'
yellow.500
'
:
'
green.400
'
}
{
...
props
}
{
...
props
}
/>
/>
</
Tooltip
>
</
Tooltip
>
...
...
ui/snippets/navigation/TestnetBadge.tsx
View file @
7f10c98e
...
@@ -2,7 +2,7 @@ import { chakra } from '@chakra-ui/react';
...
@@ -2,7 +2,7 @@ import { chakra } from '@chakra-ui/react';
import
React
from
'
react
'
;
import
React
from
'
react
'
;
import
config
from
'
configs/app
'
;
import
config
from
'
configs/app
'
;
import
IconSvg
from
'
ui/shared/IconSvg
'
;
import
{
Image
}
from
'
toolkit/chakra/image
'
;
interface
Props
{
interface
Props
{
className
?:
string
;
className
?:
string
;
...
@@ -13,7 +13,7 @@ const TestnetBadge = ({ className }: Props) => {
...
@@ -13,7 +13,7 @@ const TestnetBadge = ({ className }: Props) => {
return
null
;
return
null
;
}
}
return
<
I
conSvg
className=
{
className
}
name=
"testnet
"
h=
"14px"
w=
"37px"
color=
"red.400"
/>;
return
<
I
mage
className=
{
className
}
src=
"/static/labels/testnet.svg
"
h=
"14px"
w=
"37px"
color=
"red.400"
/>;
};
};
export
default
React
.
memo
(
chakra
(
TestnetBadge
));
export
default
React
.
memo
(
chakra
(
TestnetBadge
));
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