Update icons

This commit is contained in:
Arnaud 2024-11-22 09:35:07 +01:00
parent ca2b53663a
commit 5a64c1a93b
No known key found for this signature in database
GPG Key ID: 69D6CE281FCAE663
20 changed files with 82 additions and 170 deletions

9
package-lock.json generated
View File

@ -18,7 +18,6 @@
"echarts": "^5.5.1",
"emoji-picker-react": "^4.12.0",
"idb-keyval": "^6.2.1",
"lucide-react": "^0.445.0",
"preact": "^10.24.3",
"react-router": "^6.28.0",
"react-router-dom": "^6.28.0"
@ -3883,14 +3882,6 @@
"yallist": "^3.0.2"
}
},
"node_modules/lucide-react": {
"version": "0.445.0",
"resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.445.0.tgz",
"integrity": "sha512-YrLf3aAHvmd4dZ8ot+mMdNFrFpJD7YRwQ2pUcBhgqbmxtrMP4xDzIorcj+8y+6kpuXBF4JB0NOCTUWIYetJjgA==",
"peerDependencies": {
"react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc"
}
},
"node_modules/magic-string": {
"version": "0.30.13",
"resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.13.tgz",

View File

@ -34,7 +34,6 @@
"echarts": "^5.5.1",
"emoji-picker-react": "^4.12.0",
"idb-keyval": "^6.2.1",
"lucide-react": "^0.445.0",
"preact": "^10.24.3",
"react-router": "^6.28.0",
"react-router-dom": "^6.28.0"

View File

@ -1,16 +0,0 @@
<svg width="250" height="200" viewBox="0 0 250 200" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="250" height="200" fill="white"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M63 134H154C154.515 134 155.017 133.944 155.5 133.839C155.983 133.944 156.485 134 157 134H209C212.866 134 216 130.866 216 127C216 123.134 212.866 120 209 120H203C199.134 120 196 116.866 196 113C196 109.134 199.134 106 203 106H222C225.866 106 229 102.866 229 99C229 95.134 225.866 92 222 92H200C203.866 92 207 88.866 207 85C207 81.134 203.866 78 200 78H136C139.866 78 143 74.866 143 71C143 67.134 139.866 64 136 64H79C75.134 64 72 67.134 72 71C72 74.866 75.134 78 79 78H39C35.134 78 32 81.134 32 85C32 88.866 35.134 92 39 92H64C67.866 92 71 95.134 71 99C71 102.866 67.866 106 64 106H24C20.134 106 17 109.134 17 113C17 116.866 20.134 120 24 120H63C59.134 120 56 123.134 56 127C56 130.866 59.134 134 63 134ZM226 134C229.866 134 233 130.866 233 127C233 123.134 229.866 120 226 120C222.134 120 219 123.134 219 127C219 130.866 222.134 134 226 134Z" fill="#C1F0A4" fill-opacity="0.5"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M92 140C79.8497 140 70 130.374 70 118.5C70 106.626 79.8497 97 92 97C92.5167 97 93.0292 97.0174 93.537 97.0517C93.1842 95.0878 93 93.0654 93 91C93 72.2223 108.222 57 127 57C141.991 57 154.716 66.702 159.239 80.1695C160.31 80.0575 161.398 80 162.5 80C179.345 80 193 93.4315 193 110C193 125.741 180.675 138.727 165 139.978V140H108.508H92ZM103.996 140H97.0314Z" fill="white"/>
<path d="M103.996 140H97.0314M92 140C79.8497 140 70 130.374 70 118.5C70 106.626 79.8497 97 92 97C92.5167 97 93.0292 97.0174 93.537 97.0517C93.1842 95.0878 93 93.0654 93 91C93 72.2223 108.222 57 127 57C141.991 57 154.716 66.702 159.239 80.1695C160.31 80.0575 161.398 80 162.5 80C179.345 80 193 93.4315 193 110C193 125.741 180.675 138.727 165 139.978V140H108.508H92Z" stroke="#56CE0C" stroke-width="2.5" stroke-linecap="round"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M116.612 64.3426C116.612 96.5657 145.633 123.118 183 126.703C178.317 132.461 171.086 136.367 162.847 136.981V137H95.7431C87.6013 137 74 133.57 74 118.548C74 103.527 84.5742 100.097 95.7431 100.097C96.218 100.097 96.6891 100.112 97.1559 100.141C96.8316 98.4556 96.7746 96.7184 96.6623 94.9474C95.9038 82.9842 101.123 67.907 116.63 63C116.618 63.4473 116.612 63.8944 116.612 64.3426ZM127.116 114.758C124.078 114.758 121.614 117.192 121.614 120.195C121.614 123.198 124.078 125.632 127.116 125.632C130.155 125.632 132.618 123.198 132.618 120.195C132.618 117.192 130.155 114.758 127.116 114.758Z" fill="#C1F0A4" fill-opacity="0.5"/>
<path d="M127.5 126C130.538 126 133 123.538 133 120.5C133 117.462 130.538 115 127.5 115C124.462 115 122 117.462 122 120.5C122 123.538 124.462 126 127.5 126Z" stroke="#56CE0C" stroke-width="2.5"/>
<path d="M112 109L119 103.507L112 98.2776" stroke="#56CE0C" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M143 109L136 103.507L143 98.2776" stroke="#56CE0C" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M137 67C143.509 68.7226 148.648 73.8129 150.44 80.2932" stroke="#56CE0C" stroke-width="2.5" stroke-linecap="round"/>
<path d="M158 50C159.657 50 161 48.6569 161 47C161 45.3431 159.657 44 158 44C156.343 44 155 45.3431 155 47C155 48.6569 156.343 50 158 50Z" stroke="#56CE0C" stroke-width="2"/>
<path d="M189 66C190.657 66 192 64.6569 192 63C192 61.3431 190.657 60 189 60C187.343 60 186 61.3431 186 63C186 64.6569 187.343 66 189 66Z" fill="#56CE0C"/>
<path d="M165.757 57.7573L174.116 66.1156M174.243 57.7573L165.884 66.1156L174.243 57.7573Z" stroke="#56CE0C" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M71.4038 75.5962L77.4038 81.5962M77.4038 75.5962L71.4038 81.5962L77.4038 75.5962Z" stroke="#56CE0C" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M85 69C86.6569 69 88 67.6569 88 66C88 64.3431 86.6569 63 85 63C83.3431 63 82 64.3431 82 66C82 67.6569 83.3431 69 85 69Z" fill="#56CE0C"/>
</svg>

Before

Width:  |  Height:  |  Size: 3.9 KiB

View File

@ -0,0 +1,10 @@
<svg
width="18"
height="18"
viewBox="0 0 18 18"
fill="none"
xmlns="http://www.w3.org/2000/svg">
<path
d="M9.27273 17.5341L7.51705 15.7955L12.7756 10.5369H0V7.99716H12.7756L7.51705 2.74716L9.27273 1L17.5398 9.26705L9.27273 17.5341Z"
fill="#7BFBAF" />
</svg>

After

Width:  |  Height:  |  Size: 277 B

View File

@ -0,0 +1,11 @@
<svg
width="74"
height="89"
viewBox="0 0 74 89"
fill="none"
xmlns="http://www.w3.org/2000/svg">
<path
d="M37 0L0 22.2V66.46L37 88.66L74 66.46V22.2L37 0ZM68.12 23.33L47.83 35.5L39 30.2V5.86L68.12 23.33ZM46 47.4L40.88 44.33L46 41.26V47.4ZM28 41.26L33.12 44.33L28 47.4V41.26ZM39 40.8V34.86L43.95 37.83L39 40.8ZM35 40.8L30.05 37.83L35 34.86V40.8ZM35 47.86V53.8L30.05 50.83L35 47.86ZM39 47.86L43.95 50.83L39 53.8V47.86ZM35 5.86V30.2L26.17 35.5L5.88 23.33L35 5.86ZM4 26.86L24 38.86V49.8L4 61.8V26.86ZM5.88 65.33L26.17 53.16L35 58.46V82.8L5.88 65.33ZM39 82.8V58.46L47.83 53.16L68.12 65.33L39 82.8ZM70 61.8L50 49.8V38.86L70 26.86V61.8Z"
fill="currentColor"
fill-opacity="0.1" />
</svg>

After

Width:  |  Height:  |  Size: 702 B

View File

@ -0,0 +1,11 @@
<svg
width="74"
height="89"
viewBox="0 0 74 89"
fill="none"
xmlns="http://www.w3.org/2000/svg">
<path
d="M37 0L0 22.2V66.46L37 88.66L74 66.46V22.2L37 0ZM57.29 16.83L50 21.2V12.46L57.29 16.83ZM39 5.86L46 10.06V23.6L39 27.8V5.86ZM28 10.06L35 5.86V30.2L28 34.4V10.06ZM24 12.46V21.2L16.72 16.83L24 12.46ZM12.84 19.16L24 25.86V34.2L5.88 23.33L12.84 19.16ZM4 26.86L26.17 40.16L35 34.86V43.2L26.17 48.5L4 35.2V26.86ZM4 39.86L11.45 44.33L4 48.8V39.86ZM4 53.46L15.33 46.66L22.29 50.83L4 61.8V53.46ZM24 76.2L16.72 71.83L24 67.46V76.2ZM12.84 69.5L5.88 65.33L26.17 53.16L33.12 57.33L12.84 69.5ZM35 82.8L28 78.6V65.06L35 60.86V82.8ZM46 78.6L39 82.8V56.2L30.05 50.83L37 46.66L46 52.06V78.6ZM39 43.2V32.46L61.17 19.16L68.12 23.33L46 36.6V47.4L39 43.2ZM50 76.2V67.46L57.29 71.83L50 76.2ZM61.17 69.5L50 62.8V54.46L68.12 65.33L61.17 69.5ZM70 61.8L50 49.8V41.46L70 53.46V61.8ZM70 48.8L62.55 44.33L70 39.86V48.8ZM70 35.2L58.67 42L51.71 37.83L70 26.86V35.2Z"
fill="currentColor"
fill-opacity="0.1" />
</svg>

After

Width:  |  Height:  |  Size: 1011 B

View File

@ -0,0 +1,11 @@
<svg
width="74"
height="89"
viewBox="0 0 74 89"
fill="none"
xmlns="http://www.w3.org/2000/svg">
<path
d="M37 0L0 22.2V66.465L37 88.665L74 66.465V22.201L37 0ZM70 61.801L59 55.201V31.201L39 19.201V5.866L70 24.466V61.801ZM37 22.666L53.112 32.333L37 42L20.888 32.333L37 22.666ZM19 35.865L35 45.465V64.8L19 55.2V35.865ZM39 45.465L55 35.865V55.2L39 64.8V45.465ZM35 5.866V19.201L15 31.201V55.201L4 61.801V24.465L35 5.866ZM5.888 65.333L17 58.666L37 70.666L57 58.666L68.112 65.333L37 84L5.888 65.333Z"
fill="currentColor"
fill-opacity="0.1" />
</svg>

After

Width:  |  Height:  |  Size: 566 B

View File

@ -0,0 +1,11 @@
<svg
width="74"
height="89"
viewBox="0 0 74 89"
fill="none"
xmlns="http://www.w3.org/2000/svg">
<path
d="M37 0L0 22.2V66.46L37 88.66L74 66.46V22.2L37 0ZM57.29 16.83L50 21.2V12.46L57.29 16.83ZM24 12.46V21.2L16.72 16.83L24 12.46ZM4 24.46L12.84 19.16L24 25.86V36.8L15.33 42L4 35.2V24.46ZM4 39.86L11.45 44.33L4 48.8V39.86ZM28 39.06V10.06L35 5.86V43.2L4 61.8V53.46L28 39.06ZM16.72 71.83L24 67.46V76.2L16.72 71.83ZM37 84L28 78.6V65.06L37 59.66L46 65.06V78.6L37 84ZM50 76.2V67.46L57.29 71.83L50 76.2ZM61.17 69.5L37 55L12.84 69.5L5.88 65.33L37 46.66L68.12 65.33L61.17 69.5ZM70 61.8L39 43.2V5.86L46 10.06V39.06L70 53.46V61.8ZM70 48.8L62.55 44.33L70 39.86V48.8ZM58.67 42L50 36.8V25.86L61.17 19.16L70 24.46V35.2L58.67 42Z"
fill="currentColor"
fill-opacity="0.1" />
</svg>

After

Width:  |  Height:  |  Size: 785 B

View File

@ -1,11 +0,0 @@
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_274_4287)">
<path fill-rule="evenodd" clip-rule="evenodd" d="M19.7001 32.7386C19.7705 32.7792 19.8502 32.8001 19.9306 32.8001C20.0111 32.8001 20.188 32.7225 20.188 32.7225L30.85 26.581C30.8555 26.5783 30.8632 26.5744 30.8706 26.5701C30.942 26.5295 31.0002 26.4707 31.0406 26.4008C31.0819 26.3302 31.1036 26.25 31.1036 26.1685C31.1036 26.1588 31.1032 26.1499 31.1028 26.1432V13.8597C31.1036 13.8486 31.1036 13.8387 31.1036 13.8337L31.1036 13.8324C31.1036 13.7507 31.0818 13.671 31.0413 13.6009C31.0008 13.5302 30.9421 13.4718 30.872 13.4313C30.8644 13.4268 30.8564 13.4225 30.8484 13.4186L20.1868 7.27756C20.179 7.27228 20.1714 7.26767 20.165 7.26389L20.1644 7.26354C20.0937 7.22255 20.0136 7.20151 19.9325 7.20151H19.9306C19.8495 7.20151 19.77 7.22295 19.701 7.26233C19.692 7.26733 19.6837 7.27257 19.6762 7.27763L9.01204 13.4202C9.00655 13.4229 8.99886 13.4269 8.99144 13.4311C8.92049 13.4717 8.86173 13.531 8.82123 13.6011C8.78067 13.6712 8.75879 13.7509 8.75879 13.8327C8.75879 13.8425 8.75919 13.8513 8.75956 13.858V26.1419C8.75876 26.153 8.75878 26.1629 8.75879 26.1679L8.75879 26.1692C8.75879 26.2508 8.78058 26.3312 8.82193 26.4018C8.86238 26.4712 8.92065 26.5296 8.98909 26.5693L8.99047 26.5701L8.99187 26.5708C9.00023 26.5754 9.00781 26.5793 9.01357 26.5822L19.6768 32.7241C19.6818 32.7275 19.6906 32.7332 19.7001 32.7386ZM30.8023 26.4503C30.7969 26.4533 30.7908 26.4564 30.7847 26.4594C30.788 26.4578 30.7915 26.4561 30.7946 26.4544C30.7973 26.4531 30.7999 26.4517 30.8023 26.4503ZM30.9649 26.1472C30.9651 26.1495 30.9652 26.152 30.9653 26.1545C30.9655 26.1589 30.9657 26.1636 30.9657 26.1685C30.9657 26.167 30.9657 26.1655 30.9656 26.164C30.9655 26.158 30.9652 26.1523 30.9649 26.1472ZM20.3983 26.9771L24.3592 29.2549L20.3951 31.538L20.3983 26.9771ZM15.5034 29.2548L19.4645 26.9769L19.4676 31.538L15.5034 29.2548ZM25.7528 23.8924L29.7137 26.1701L25.7497 28.4532L25.7528 23.8924ZM20.3984 25.3628V20.8084L24.3514 23.0856L20.3984 25.3628ZM15.0439 22.2784V17.724L18.9969 20.0012L15.0439 22.2784ZM20.3984 19.1932V14.6388L24.3514 16.916L20.3984 19.1932ZM19.4649 13.0247L15.5038 10.7468L19.468 8.4636L19.4649 13.0247ZM10.1491 26.1701L14.1131 28.4532L14.11 23.8921L10.1491 26.1701ZM24.8194 23.8927L24.8225 28.4527L20.8658 26.1705L24.8194 23.8927ZM15.0438 23.8927L15.0406 28.4527L18.9974 26.1705L15.0438 23.8927ZM26.2198 23.0856L30.178 20.8025V25.3687L26.2198 23.0856ZM9.68483 20.8025V25.3687L13.643 23.0856L9.68483 20.8025ZM15.5111 23.085L19.4644 25.3624V20.8076L15.5111 23.085ZM29.7125 20.0004L25.7529 17.7227V22.2781L29.7125 20.0004ZM10.1503 20.0008L14.1099 22.2785V17.7231L10.1503 20.0008ZM24.8189 17.7232V22.278L20.8656 20.0006L24.8189 17.7232ZM30.178 14.6329V19.1991L26.2198 16.916L30.178 14.6329ZM13.643 16.916L9.68483 19.1991V14.6329L13.643 16.916ZM19.4644 14.6384V19.1928L15.5114 16.9156L19.4644 14.6384ZM29.7141 13.8315L25.7497 11.5482L25.7528 16.1095L29.7141 13.8315ZM14.1135 11.5484L14.1104 16.1095L10.1491 13.8315L14.1135 11.5484ZM24.8225 11.5489L24.8194 16.1089L20.8658 13.8311L24.8225 11.5489ZM18.9974 13.8311L15.0438 16.1089L15.0406 11.5489L18.9974 13.8311ZM24.3596 10.7467L20.3951 8.46359L20.3983 13.0247L24.3596 10.7467Z" fill="white"/>
</g>
<defs>
<clipPath id="clip0_274_4287">
<rect width="40" height="40" fill="black"/>
</clipPath>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 3.3 KiB

View File

@ -1,89 +0,0 @@
<svg
width="119"
height="110"
viewBox="0 0 119 110"
fill="none"
xmlns="http://www.w3.org/2000/svg">
<path
d="M103.25 26.99V31.3"
stroke="#4A5059"
stroke-linecap="round"
stroke-linejoin="round" />
<path
d="M101.1 29.15H105.4"
stroke="#4A5059"
stroke-linecap="round"
stroke-linejoin="round" />
<path
d="M15.09 10.36V14.67"
stroke="#4A5059"
stroke-linecap="round"
stroke-linejoin="round" />
<path
d="M12.9301 12.51H17.2401"
stroke="#4A5059"
stroke-linecap="round"
stroke-linejoin="round" />
<path
d="M48.5499 2.28996C49.0912 2.28996 49.5299 1.85119 49.5299 1.30996C49.5299 0.768717 49.0912 0.329956 48.5499 0.329956C48.0087 0.329956 47.5699 0.768717 47.5699 1.30996C47.5699 1.85119 48.0087 2.28996 48.5499 2.28996Z"
fill="#4A5059" />
<path
d="M79.97 41.25C71.59 41.25 63.08 40.92 55.11 38.7C47.29 36.5 40.15 32.32 33.71 27.5C29.51 24.32 25.71 21.8 20.26 22.18C14.9469 22.4538 9.8614 24.4235 5.75001 27.8C-1.17999 33.86 -0.129995 45.07 2.64001 52.95C6.8 64.82 19.5 73.07 30.22 78.44C42.65 84.65 56.3 88.26 70 90.33C82 92.16 97.41 93.48 107.81 85.64C117.37 78.44 119.99 62 117.65 50.9C117.081 47.6187 115.331 44.6591 112.73 42.58C106.02 37.67 96.02 40.95 88.48 41.11C85.68 41.17 82.83 41.24 79.97 41.25Z"
fill="#272933" />
<path
d="M59.48 109.79C79.7544 109.79 96.19 108.765 96.19 107.5C96.19 106.235 79.7544 105.21 59.48 105.21C39.2056 105.21 22.77 106.235 22.77 107.5C22.77 108.765 39.2056 109.79 59.48 109.79Z"
fill="#272933" />
<path
d="M75.0746 3.65264L26.1993 10.2608C24.634 10.4725 23.5367 11.913 23.7483 13.4783L33.2265 83.5804C33.4381 85.1457 34.8786 86.2431 36.4439 86.0314L85.3192 79.4232C86.8845 79.2116 87.9818 77.7711 87.7702 76.2058L78.292 6.10365C78.0804 4.53836 76.6399 3.44101 75.0746 3.65264Z"
fill="#4A5059" />
<path
d="M91.32 13.95H42C40.4205 13.95 39.14 15.2304 39.14 16.81V87.55C39.14 89.1295 40.4205 90.41 42 90.41H91.32C92.8995 90.41 94.18 89.1295 94.18 87.55V16.81C94.18 15.2304 92.8995 13.95 91.32 13.95Z"
fill="#2D333E"
stroke="#4A5059"
stroke-miterlimit="10" />
<path
d="M78.5099 68.86H54.7999C53.9108 68.86 53.1899 69.5808 53.1899 70.47V70.48C53.1899 71.3692 53.9108 72.09 54.7999 72.09H78.5099C79.3991 72.09 80.1199 71.3692 80.1199 70.48V70.47C80.1199 69.5808 79.3991 68.86 78.5099 68.86Z"
fill="#4A5059" />
<path
d="M77.66 82.0601H54.91C54.6394 82.0601 54.42 82.2794 54.42 82.5501V82.7001C54.42 82.9707 54.6394 83.1901 54.91 83.1901H77.66C77.9307 83.1901 78.15 82.9707 78.15 82.7001V82.5501C78.15 82.2794 77.9307 82.0601 77.66 82.0601Z"
fill="#4A5059" />
<path
d="M83.46 76.77H49.95C49.5911 76.77 49.3 77.061 49.3 77.42C49.3 77.779 49.5911 78.07 49.95 78.07H83.46C83.819 78.07 84.11 77.779 84.11 77.42C84.11 77.061 83.819 76.77 83.46 76.77Z"
fill="#4A5059" />
<path
d="M89.59 16.27H43.73C42.5923 16.27 41.67 17.1923 41.67 18.33V58.1C41.67 59.2377 42.5923 60.16 43.73 60.16H89.59C90.7277 60.16 91.65 59.2377 91.65 58.1V18.33C91.65 17.1923 90.7277 16.27 89.59 16.27Z"
fill="#2D333E"
stroke="#4A5059"
stroke-miterlimit="10" />
<path
d="M72.78 47.84C73.1093 47.8378 73.4299 47.7339 73.698 47.5427C73.9661 47.3514 74.1687 47.0821 74.2781 46.7715C74.3875 46.4608 74.3983 46.124 74.3092 45.807C74.22 45.49 74.0352 45.2082 73.78 45C71.6916 43.278 69.0631 42.347 66.3563 42.3708C63.6496 42.3946 61.0378 43.3715 58.98 45.13C58.7303 45.345 58.5526 45.6314 58.4709 45.9506C58.3891 46.2697 58.4073 46.6063 58.5228 46.9148C58.6384 47.2233 58.8458 47.489 59.1171 47.6759C59.3884 47.8628 59.7105 47.962 60.04 47.96L72.78 47.84Z"
stroke="#4A5059"
stroke-width="0.71"
stroke-linecap="round"
stroke-linejoin="round" />
<path
d="M80.95 37.82L75.12 34.46L80.95 31.1"
stroke="#4A5059"
stroke-width="0.71"
stroke-linecap="round"
stroke-linejoin="round" />
<path
d="M51.89 37.82L57.71 34.46L51.89 31.1"
stroke="#4A5059"
stroke-width="0.71"
stroke-linecap="round"
stroke-linejoin="round" />
<path
d="M19.92 59.16V63.46"
stroke="#4A5059"
stroke-linecap="round"
stroke-linejoin="round" />
<path
d="M17.77 61.3101H22.07"
stroke="#4A5059"
stroke-linecap="round"
stroke-linejoin="round" />
<path
d="M101.42 62.2C101.961 62.2 102.4 61.7612 102.4 61.22C102.4 60.6788 101.961 60.24 101.42 60.24C100.879 60.24 100.44 60.6788 100.44 61.22C100.44 61.7612 100.879 62.2 101.42 62.2Z"
fill="#4A5059" />
</svg>

Before

Width:  |  Height:  |  Size: 4.4 KiB

View File

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="35.93" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 228"><path fill="#00D8FF" d="M210.483 73.824a171.49 171.49 0 0 0-8.24-2.597c.465-1.9.893-3.777 1.273-5.621c6.238-30.281 2.16-54.676-11.769-62.708c-13.355-7.7-35.196.329-57.254 19.526a171.23 171.23 0 0 0-6.375 5.848a155.866 155.866 0 0 0-4.241-3.917C100.759 3.829 77.587-4.822 63.673 3.233C50.33 10.957 46.379 33.89 51.995 62.588a170.974 170.974 0 0 0 1.892 8.48c-3.28.932-6.445 1.924-9.474 2.98C17.309 83.498 0 98.307 0 113.668c0 15.865 18.582 31.778 46.812 41.427a145.52 145.52 0 0 0 6.921 2.165a167.467 167.467 0 0 0-2.01 9.138c-5.354 28.2-1.173 50.591 12.134 58.266c13.744 7.926 36.812-.22 59.273-19.855a145.567 145.567 0 0 0 5.342-4.923a168.064 168.064 0 0 0 6.92 6.314c21.758 18.722 43.246 26.282 56.54 18.586c13.731-7.949 18.194-32.003 12.4-61.268a145.016 145.016 0 0 0-1.535-6.842c1.62-.48 3.21-.974 4.76-1.488c29.348-9.723 48.443-25.443 48.443-41.52c0-15.417-17.868-30.326-45.517-39.844Zm-6.365 70.984c-1.4.463-2.836.91-4.3 1.345c-3.24-10.257-7.612-21.163-12.963-32.432c5.106-11 9.31-21.767 12.459-31.957c2.619.758 5.16 1.557 7.61 2.4c23.69 8.156 38.14 20.213 38.14 29.504c0 9.896-15.606 22.743-40.946 31.14Zm-10.514 20.834c2.562 12.94 2.927 24.64 1.23 33.787c-1.524 8.219-4.59 13.698-8.382 15.893c-8.067 4.67-25.32-1.4-43.927-17.412a156.726 156.726 0 0 1-6.437-5.87c7.214-7.889 14.423-17.06 21.459-27.246c12.376-1.098 24.068-2.894 34.671-5.345a134.17 134.17 0 0 1 1.386 6.193ZM87.276 214.515c-7.882 2.783-14.16 2.863-17.955.675c-8.075-4.657-11.432-22.636-6.853-46.752a156.923 156.923 0 0 1 1.869-8.499c10.486 2.32 22.093 3.988 34.498 4.994c7.084 9.967 14.501 19.128 21.976 27.15a134.668 134.668 0 0 1-4.877 4.492c-9.933 8.682-19.886 14.842-28.658 17.94ZM50.35 144.747c-12.483-4.267-22.792-9.812-29.858-15.863c-6.35-5.437-9.555-10.836-9.555-15.216c0-9.322 13.897-21.212 37.076-29.293c2.813-.98 5.757-1.905 8.812-2.773c3.204 10.42 7.406 21.315 12.477 32.332c-5.137 11.18-9.399 22.249-12.634 32.792a134.718 134.718 0 0 1-6.318-1.979Zm12.378-84.26c-4.811-24.587-1.616-43.134 6.425-47.789c8.564-4.958 27.502 2.111 47.463 19.835a144.318 144.318 0 0 1 3.841 3.545c-7.438 7.987-14.787 17.08-21.808 26.988c-12.04 1.116-23.565 2.908-34.161 5.309a160.342 160.342 0 0 1-1.76-7.887Zm110.427 27.268a347.8 347.8 0 0 0-7.785-12.803c8.168 1.033 15.994 2.404 23.343 4.08c-2.206 7.072-4.956 14.465-8.193 22.045a381.151 381.151 0 0 0-7.365-13.322Zm-45.032-43.861c5.044 5.465 10.096 11.566 15.065 18.186a322.04 322.04 0 0 0-30.257-.006c4.974-6.559 10.069-12.652 15.192-18.18ZM82.802 87.83a323.167 323.167 0 0 0-7.227 13.238c-3.184-7.553-5.909-14.98-8.134-22.152c7.304-1.634 15.093-2.97 23.209-3.984a321.524 321.524 0 0 0-7.848 12.897Zm8.081 65.352c-8.385-.936-16.291-2.203-23.593-3.793c2.26-7.3 5.045-14.885 8.298-22.6a321.187 321.187 0 0 0 7.257 13.246c2.594 4.48 5.28 8.868 8.038 13.147Zm37.542 31.03c-5.184-5.592-10.354-11.779-15.403-18.433c4.902.192 9.899.29 14.978.29c5.218 0 10.376-.117 15.453-.343c-4.985 6.774-10.018 12.97-15.028 18.486Zm52.198-57.817c3.422 7.8 6.306 15.345 8.596 22.52c-7.422 1.694-15.436 3.058-23.88 4.071a382.417 382.417 0 0 0 7.859-13.026a347.403 347.403 0 0 0 7.425-13.565Zm-16.898 8.101a358.557 358.557 0 0 1-12.281 19.815a329.4 329.4 0 0 1-23.444.823c-7.967 0-15.716-.248-23.178-.732a310.202 310.202 0 0 1-12.513-19.846h.001a307.41 307.41 0 0 1-10.923-20.627a310.278 310.278 0 0 1 10.89-20.637l-.001.001a307.318 307.318 0 0 1 12.413-19.761c7.613-.576 15.42-.876 23.31-.876H128c7.926 0 15.743.303 23.354.883a329.357 329.357 0 0 1 12.335 19.695a358.489 358.489 0 0 1 11.036 20.54a329.472 329.472 0 0 1-11 20.722Zm22.56-122.124c8.572 4.944 11.906 24.881 6.52 51.026c-.344 1.668-.73 3.367-1.15 5.09c-10.622-2.452-22.155-4.275-34.23-5.408c-7.034-10.017-14.323-19.124-21.64-27.008a160.789 160.789 0 0 1 5.888-5.4c18.9-16.447 36.564-22.941 44.612-18.3ZM128 90.808c12.625 0 22.86 10.235 22.86 22.86s-10.235 22.86-22.86 22.86s-22.86-10.235-22.86-22.86s10.235-22.86 22.86-22.86Z"></path></svg>

Before

Width:  |  Height:  |  Size: 4.0 KiB

View File

@ -1,10 +1,10 @@
import "./AvailabilityConfirm.css";
import { AvailabilityComponentProps } from "./types";
import "./AvailabilityConfirm.css";
import { Info } from "lucide-react";
import { useEffect } from "react";
import { SpaceAllocation } from "@codex-storage/marketplace-ui-components";
import NodesIcon from "../../assets/icons/nodes.svg?react";
import InfoIcon from "../../assets/icons/info.svg?react";
export function AvailabilityConfirm({
dispatch,
@ -56,7 +56,7 @@ export function AvailabilityConfirm({
<div>
<div>
<Info />
<InfoIcon />
</div>
<div>

View File

@ -13,7 +13,7 @@ export function ErrorPlaceholder({ subtitle, error }: Props) {
return (
<Placeholder
Icon={<ErrorCircleIcon />}
Icon={<ErrorCircleIcon width={30} />}
title="Error"
subtitle={subtitle}
message={message}></Placeholder>

View File

@ -69,8 +69,8 @@
svg {
position: absolute;
right: 0;
top: 0;
right: -16px;
top: -7px;
color: var(--codex-preset-color);
}

View File

@ -2,11 +2,14 @@ import { useCallback, useEffect, useState } from "react";
import "./StorageRequestReview.css";
import { Alert } from "@codex-storage/marketplace-ui-components";
import { CardNumbers } from "../CardNumbers/CardNumbers";
import WarningIcon from "../../assets/icons/warning-circle.svg?react";
import WarningIcon from "../../assets/icons/warning.svg?react";
import { StorageRequest, StorageRequestComponentProps } from "./types";
import DurabilityIcon from "../../assets/icons/durability.svg?react";
import AlphaIcon from "../../assets/icons/alpha.svg?react";
import PresetIcon from "../../assets/icons/preset.svg?react";
import PresetCustomIcon from "../../assets/icons/durability-custom.svg?react";
import PresetLowIcon from "../../assets/icons/durability-low.svg?react";
import PresetMediumIcon from "../../assets/icons/durability-medium.svg?react";
import PresetHighIcon from "../../assets/icons/durability-high.svg?react";
import CommitmentIcon from "../../assets/icons/commitment.svg?react";
import RequestDurationIcon from "../../assets/icons/request-duration.svg?react";
import { attributes } from "../../utils/attributes";
@ -222,7 +225,7 @@ export function StorageRequestReview({
})}
onClick={() => onDurabilityChange(0)}>
<span>Custom</span>
<PresetIcon></PresetIcon>
<PresetCustomIcon></PresetCustomIcon>
</div>
<div
{...attributes({
@ -230,7 +233,7 @@ export function StorageRequestReview({
})}
onClick={() => onDurabilityChange(1)}>
<span>Low</span>
<PresetIcon></PresetIcon>
<PresetLowIcon></PresetLowIcon>
</div>
<div
{...attributes({
@ -239,7 +242,7 @@ export function StorageRequestReview({
onClick={() => onDurabilityChange(2)}>
<span>Medium</span>
<span>Recommanded</span>
<PresetIcon></PresetIcon>
<PresetMediumIcon></PresetMediumIcon>
</div>
<div
{...attributes({
@ -247,7 +250,7 @@ export function StorageRequestReview({
})}
onClick={() => onDurabilityChange(3)}>
<span>High</span>
<PresetIcon></PresetIcon>
<PresetHighIcon></PresetHighIcon>
</div>
</div>

View File

@ -1,5 +1,4 @@
import "./WelcomeCard.css";
import { ArrowRight } from "lucide-react";
import { Alert } from "@codex-storage/marketplace-ui-components";
import { useEffect, useRef, useState } from "react";
import { classnames } from "../../utils/classnames";
@ -47,7 +46,7 @@ export function WelcomeCard() {
</p>
<div>
<Link to="/dashboard/help" className="welcome-link">
Learn more<ArrowRight></ArrowRight>
Learn more
</Link>
<a href={import.meta.env.VITE_DISCORD_LINK}>
<DiscordIcon></DiscordIcon>

View File

@ -13,11 +13,11 @@
@media (min-width: 1600px) {
& {
flex: 1 1 23%;
flex: 1 1 35%;
}
&.welcome-card {
flex: 1 1 30%;
flex: 1 1 35%;
}
&.card--main--files {

View File

@ -1,7 +1,7 @@
import "./help.css";
import { HelpCircle } from "lucide-react";
import { useEffect } from "react";
import * as Sentry from "@sentry/react";
import HelpIcon from "../../assets/icons/help.svg?react";
export const HelpRoute = () => {
useEffect(() => {
@ -21,7 +21,7 @@ export const HelpRoute = () => {
<h1>You might be wondering...</h1>
<div>
<HelpCircle size={"1.5rem"} />
<HelpIcon />
<div>
<h2>What's Codex?</h2>
<p>
@ -33,7 +33,7 @@ export const HelpRoute = () => {
</div>
<div>
<HelpCircle size={"1rem"} />
<HelpIcon />
<div>
<h2>What is the purpose of this web application?</h2>
<p>
@ -44,7 +44,7 @@ export const HelpRoute = () => {
</div>
<div>
<HelpCircle size={"1rem"} />
<HelpIcon />
<div>
<h2>Can Codex handle big files ?</h2>
<p>
@ -55,7 +55,7 @@ export const HelpRoute = () => {
</div>
<div>
<HelpCircle size={"1rem"} />
<HelpIcon />
<div>
<h2>Is it production ready ?</h2>
<p>
@ -67,7 +67,7 @@ export const HelpRoute = () => {
</div>
<div>
<HelpCircle size={"1rem"} />
<HelpIcon />
<div>
<h2>How can I reach you if I am stuck ?</h2>
<p>
@ -84,7 +84,7 @@ export const HelpRoute = () => {
</div>
<div>
<HelpCircle size={"1rem"} />
<HelpIcon />
<div>
<h2>How can I build and run Codex ?</h2>
<p>

View File

@ -21,21 +21,6 @@ export const OnBoardingNameRoute = () => {
}
};
// useEffect(() => {
// const onKeyPress = (event: Event) => {
// const e = event as KeyboardEvent;
// if (e.key === "ArrowRight") {
// navigate({ to: "/onboarding-checks" });
// } else if (e.key === "ArrowLeft") {
// navigate({ to: "/" });
// }
// };
// document.addEventListener("keydown", onKeyPress);
// return () => document.removeEventListener("keydown", onKeyPress);
// }, [navigate]);
return (
<OnBoardingLayout defaultIsStepValid={false} step={1}>
<>

View File

@ -1,10 +1,10 @@
import { useState } from "react";
import { Modal } from "@codex-storage/marketplace-ui-components";
import { ArrowRight } from "lucide-react";
import { OnBoardingLayout } from "../components/OnBoarding/OnBoardingLayout";
import AlphaIcon from "../assets/icons/alpha.svg?react";
import AlphaText from "../assets/icons/alphatext.svg?react";
import ArrowRightCircle from "../assets/icons/arrow-circle.svg?react";
import ArrowCircleIcon from "../assets/icons/arrow-circle.svg?react";
import ArrowRightIcon from "../assets/icons/arrow-onboarding.svg?react";
import { useNavigate } from "react-router-dom";
export function OnBoardingRoute() {
@ -43,9 +43,7 @@ export function OnBoardingRoute() {
</p>
</section>
<section className="get-started">
<a onClick={onNextStep}>
Lets get started <ArrowRight></ArrowRight>
</a>
<a onClick={onNextStep}>Lets get started </a>
<Modal
onClose={onLegalDisclaimerClose}
@ -83,7 +81,7 @@ export function OnBoardingRoute() {
</Modal>
</section>
<a className="navigation" onClick={onNextStep}>
<ArrowRightCircle></ArrowRightCircle>
<ArrowCircleIcon></ArrowCircleIcon>
</a>
</>
</OnBoardingLayout>