Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat(refactor): stricter validator operator svgs #1986

Merged
merged 3 commits into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"@polkadot/util-crypto": "^12.6.2",
"@polkawatch/ddp-client": "^2.0.11",
"@substrate/connect": "0.7.35",
"@w3ux/validator-assets": "^0.0.1",
"@zondax/ledger-substrate": "^0.41.3",
"bignumber.js": "^9.1.2",
"bn.js": "^5.2.1",
Expand Down
96 changes: 4 additions & 92 deletions src/config/validators/ApertureMining.tsx
Original file line number Diff line number Diff line change
@@ -1,96 +1,8 @@
const ApertureMining = () => (
<svg
version="1.0"
xmlns="http://www.w3.org/2000/svg"
width="376.000000pt"
height="376.000000pt"
viewBox="0 0 376.000000 376.000000"
preserveAspectRatio="xMidYMid meet"
>
<g
transform="translate(0.000000,376.000000) scale(0.100000,-0.100000)"
fill="#000000"
stroke="none"
>
<path
d="M1683 3713 c-27 -4 -58 -32 -185 -169 -84 -90 -154 -169 -156 -174
-2 -7 287 -10 807 -10 446 0 811 3 811 8 0 14 -166 114 -285 172 -259 126
-513 182 -808 178 -84 0 -167 -3 -184 -5z"
/>
<path
d="M1422 3665 c-146 -38 -206 -61 -367 -141 -193 -95 -309 -178 -472
-339 l-133 -131 0 -249 0 -250 311 310 c378 377 798 825 772 825 -10 -1 -60
-12 -111 -25z"
/>
<path
d="M3125 2730 c314 -314 571 -566 573 -561 5 16 -49 230 -80 321 -95
270 -268 536 -474 729 l-87 81 -251 0 -251 0 570 -570z"
/>
<path
d="M1810 3230 c-19 -4 -26 -14 -30 -40 -4 -27 -10 -36 -27 -38 -16 -2
-23 2 -23 12 0 23 -14 20 -45 -11 -35 -36 -53 -71 -61 -122 -4 -24 -12 -41
-20 -41 -16 0 -29 -39 -17 -51 5 -5 129 -8 289 -7 l279 3 3 23 c3 17 -2 25
-17 29 -15 4 -21 14 -21 32 0 33 -31 97 -64 136 -25 29 -27 29 -40 12 -22 -29
-50 -17 -56 22 -4 27 -11 36 -32 42 -26 7 -27 5 -30 -35 -3 -36 -6 -41 -28
-41 -22 0 -26 5 -30 41 -5 37 -7 40 -30 34z"
/>
<path
d="M326 2874 c-117 -181 -213 -418 -255 -630 -28 -140 -43 -339 -35
-449 l7 -93 173 -173 174 -174 0 803 c0 441 -2 802 -4 802 -2 0 -29 -39 -60
-86z"
/>
<path
d="M1632 2841 c10 -146 161 -248 303 -206 59 17 126 68 150 116 20 37
36 114 29 133 -5 14 -38 16 -246 16 l-240 0 4 -59z"
/>
<path
d="M2482 2758 c112 -111 248 -307 248 -358 0 -22 -12 -32 -97 -75 -54
-28 -120 -62 -146 -78 -44 -25 -50 -26 -75 -13 -43 22 -136 126 -197 220 -36
56 -65 90 -82 97 -16 6 -122 9 -267 7 l-241 -3 -60 -29 c-35 -17 -86 -56 -123
-92 -103 -103 -152 -237 -152 -419 0 -161 49 -393 90 -430 32 -29 88 -25 116
9 28 32 30 54 8 125 -63 215 -56 433 19 546 57 86 57 85 57 -214 0 -149 2
-271 4 -271 15 0 563 295 574 309 7 9 12 38 12 66 -1 28 -1 54 -1 59 1 5 22
-12 47 -38 25 -26 44 -49 42 -49 -51 -25 -63 -38 -66 -70 l-3 -35 64 34 63 33
43 -21 c93 -46 203 -20 276 64 34 39 36 47 32 91 l-4 48 48 24 c26 14 55 22
64 19 46 -18 164 -353 165 -469 l1 -40 17 30 c13 23 17 53 16 125 -1 104 -19
191 -66 308 -17 40 -27 80 -24 89 11 28 -13 81 -42 94 -15 7 -44 37 -64 68
-95 147 -237 273 -332 295 -25 6 -21 0 36 -56z"
/>
<path
d="M3360 1594 c0 -512 3 -803 10 -799 19 12 125 192 175 300 125 263
180 524 173 817 l-3 148 -170 170 c-93 93 -173 170 -177 170 -5 0 -8 -363 -8
-806z"
/>
<path
d="M1872 1851 c-156 -82 -287 -153 -292 -157 -4 -5 -15 -88 -24 -184 -9
-96 -30 -317 -46 -490 -40 -419 -40 -413 9 -461 34 -34 44 -39 86 -39 54 0 95
21 119 61 15 26 33 186 99 924 l12 130 35 3 36 3 38 -413 c64 -698 53 -627 96
-670 33 -34 43 -38 86 -38 54 0 99 23 120 62 20 36 17 94 -31 606 -29 317 -45
533 -46 645 0 92 -4 167 -7 167 -4 -1 -135 -68 -290 -149z"
/>
<path
d="M1530 1733 c0 -10 5 -25 10 -33 7 -11 10 -7 10 18 0 17 -4 32 -10 32
-5 0 -10 -8 -10 -17z"
/>
<path
d="M1194 1569 c-96 -51 -111 -63 -107 -80 3 -11 11 -23 18 -25 12 -5
220 100 230 117 7 10 -12 49 -23 48 -4 0 -57 -27 -118 -60z"
/>
<path
d="M60 1580 c0 -14 9 -63 20 -110 64 -267 164 -483 325 -698 87 -116
274 -309 308 -317 12 -3 126 -4 253 -3 l231 3 -569 575 c-452 457 -568 569
-568 550z"
/>
<path
d="M2725 628 c-357 -359 -554 -564 -544 -566 26 -5 223 45 326 84 275
102 497 247 701 457 l92 96 0 246 c0 135 -3 245 -7 245 -5 0 -260 -253 -568
-562z"
/>
<path
d="M805 380 c11 -18 190 -123 284 -167 263 -124 490 -173 795 -173 l171
0 175 175 175 175 -803 0 c-511 0 -801 -3 -797 -10z"
/>
</g>
<svg version="1.0" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 376 376">
<path d="M168.3 4.7c-2.7.4-5.8 3.2-18.5 16.9-8.4 9-15.4 16.9-15.6 17.4-.2.7 28.7 1 80.7 1 44.6 0 81.1-.3 81.1-.8 0-1.4-16.6-11.4-28.5-17.2-25.9-12.6-51.3-18.2-80.8-17.8-8.4 0-16.7.3-18.4.5zM142.2 9.5c-14.6 3.8-20.6 6.1-36.7 14.1-19.3 9.5-30.9 17.8-47.2 33.9L45 70.6v49.9l31.1-31C113.9 51.8 155.9 7 153.3 7c-1 .1-6 1.2-11.1 2.5zM312.5 103c31.4 31.4 57.1 56.6 57.3 56.1.5-1.6-4.9-23-8-32.1-9.5-27-26.8-53.6-47.4-72.9l-8.7-8.1h-50.2l57 57zM181 53c-1.9.4-2.6 1.4-3 4-.4 2.7-1 3.6-2.7 3.8-1.6.2-2.3-.2-2.3-1.2 0-2.3-1.4-2-4.5 1.1-3.5 3.6-5.3 7.1-6.1 12.2-.4 2.4-1.2 4.1-2 4.1-1.6 0-2.9 3.9-1.7 5.1.5.5 12.9.8 28.9.7l27.9-.3.3-2.3c.3-1.7-.2-2.5-1.7-2.9-1.5-.4-2.1-1.4-2.1-3.2 0-3.3-3.1-9.7-6.4-13.6-2.5-2.9-2.7-2.9-4-1.2-2.2 2.9-5 1.7-5.6-2.2-.4-2.7-1.1-3.6-3.2-4.2-2.6-.7-2.7-.5-3 3.5-.3 3.6-.6 4.1-2.8 4.1-2.2 0-2.6-.5-3-4.1-.5-3.7-.7-4-3-3.4zM32.6 88.6c-11.7 18.1-21.3 41.8-25.5 63-2.8 14-4.3 33.9-3.5 44.9l.7 9.3 17.3 17.3L39 240.5v-80.3c0-44.1-.2-80.2-.4-80.2s-2.9 3.9-6 8.6zM163.2 91.9c1 14.6 16.1 24.8 30.3 20.6 5.9-1.7 12.6-6.8 15-11.6 2-3.7 3.6-11.4 2.9-13.3-.5-1.4-3.8-1.6-24.6-1.6h-24l.4 5.9z" />
<path d="M248.2 100.2c11.2 11.1 24.8 30.7 24.8 35.8 0 2.2-1.2 3.2-9.7 7.5-5.4 2.8-12 6.2-14.6 7.8-4.4 2.5-5 2.6-7.5 1.3-4.3-2.2-13.6-12.6-19.7-22-3.6-5.6-6.5-9-8.2-9.7-1.6-.6-12.2-.9-26.7-.7l-24.1.3-6 2.9c-3.5 1.7-8.6 5.6-12.3 9.2-10.3 10.3-15.2 23.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7-16.7-.4.1-13.5 6.8-29 14.9zM153 202.7c0 1 .5 2.5 1 3.3.7 1.1 1 .7 1-1.8 0-1.7-.4-3.2-1-3.2-.5 0-1 .8-1 1.7zM119.4 219.1c-9.6 5.1-11.1 6.3-10.7 8 .3 1.1 1.1 2.3 1.8 2.5 1.2.5 22-10 23-11.7.7-1-1.2-4.9-2.3-4.8-.4 0-5.7 2.7-11.8 6zM6 218c0 1.4.9 6.3 2 11 6.4 26.7 16.4 48.3 32.5 69.8 8.7 11.6 27.4 30.9 30.8 31.7 1.2.3 12.6.4 25.3.3l23.1-.3L62.8 273C17.6 227.3 6 216.1 6 218zM272.5 313.2c-35.7 35.9-55.4 56.4-54.4 56.6 2.6.5 22.3-4.5 32.6-8.4 27.5-10.2 49.7-24.7 70.1-45.7l9.2-9.6v-24.6c0-13.5-.3-24.5-.7-24.5-.5 0-26 25.3-56.8 56.2zM80.5 338c1.1 1.8 19 12.3 28.4 16.7 26.3 12.4 49 17.3 79.5 17.3h17.1l17.5-17.5 17.5-17.5h-80.3c-51.1 0-80.1.3-79.7 1z" />
</svg>
);

Expand Down
15 changes: 0 additions & 15 deletions src/config/validators/Blockseeker.tsx
Original file line number Diff line number Diff line change
@@ -1,23 +1,8 @@
const Blockseeker = () => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 389.83 450.04">
<defs>
<linearGradient
id="a"
x1="194.91"
y1="448.54"
x2="194.91"
y2="1.5"
gradientUnits="userSpaceOnUse"
>
<stop offset="0" stopColor="#010101" />
<stop offset="1" stopColor="#010101" />
</linearGradient>
</defs>
<path
d="M68.7 335.07a2 2 0 00-3.16-1.53l-22.1 17.58a24.44 24.44 0 01-27.5 2A29.05 29.05 0 011.5 328V131.5a38.7 38.7 0 0118.62-33.08L171 6.91a37.29 37.29 0 0137.89-.47 13 13 0 01.29 22.38l-77.18 47a13.84 13.84 0 00-5.88 7.33 1.84 1.84 0 001.14 2.34 1.82 1.82 0 001.54-.16l86.84-51.87a38.68 38.68 0 0139.08-.35l114.17 65.47a38.69 38.69 0 0119.44 33.56v196a27.14 27.14 0 01-14.72 24.13 10.13 10.13 0 01-14.77-9l-.18-53.84a1.45 1.45 0 00-2.73-.68 23 23 0 00-2.71 10.83v42.25a38.68 38.68 0 01-20.11 33.93L209 443.78a38.67 38.67 0 01-38.11-.54l-116.46-68.1A14.12 14.12 0 0152.72 352l12.83-10.31a8.44 8.44 0 003.15-6.62z"
stroke="#fff"
strokeMiterlimit="10"
strokeWidth="1"
fill="#010101"
/>
<path
Expand Down
13 changes: 3 additions & 10 deletions src/config/validators/CoinbaseCloud.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
const CoinbaseCloud = () => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
<path fill="#45e1e5" d="M0 0h64v64H0z" />
<path
style={{
fill: '#45e1e5',
}}
d="M0 0h64v64H0z"
/>
<path
d="M32 43a11 11 0 1 1 10.83-12.83h11.09a22 22 0 1 0 0 3.66H42.83A11 11 0 0 1 32 43Z"
style={{
fill: '#0a0b0d',
}}
d="M32 43a11 11 0 1110.83-12.83h11.09a22 22 0 100 3.66H42.83A11 11 0 0132 43z"
fill="#0a0b0d"
/>
</svg>
);
Expand Down
Loading
Loading