Skip to content

Commit

Permalink
fix ui and validate bridge
Browse files Browse the repository at this point in the history
  • Loading branch information
haunv3 committed Sep 18, 2024
1 parent 20487ba commit 5e22098
Show file tree
Hide file tree
Showing 6 changed files with 246 additions and 228 deletions.
62 changes: 5 additions & 57 deletions app/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
105 changes: 44 additions & 61 deletions assets/icons/OraiDEXLogo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,69 +3,52 @@ import React from "react";
export const OraiDEXLogo = () => {
return (
<svg
version="1.0"
width="102"
height="20"
viewBox="0 0 102 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
width="2284.000000pt"
height="508.000000pt"
viewBox="0 0 2284.000000 508.000000"
preserveAspectRatio="xMidYMid meet"
>
<g
transform="translate(0.000000,508.000000) scale(0.100000,-0.100000)"
fill="#fff"
stroke="none"
>
<path
d="M0 2540 l0 -2540 11420 0 11420 0 0 2540 0 2540 -11420 0 -11420 0 0
-2540z m2105 1943 c154 -159 414 -427 579 -598 165 -170 362 -373 438 -450
l138 -140 0 728 0 727 730 0 730 0 0 -727 0 -728 728 728 727 727 733 0 732 0
0 -728 0 -727 -725 -725 c-399 -399 -725 -728 -725 -732 0 -5 335 -8 745 -8
l745 0 0 -750 0 -750 -754 0 -753 0 -299 307 c-164 170 -436 450 -603 623
-168 173 -361 371 -428 440 l-123 125 0 -727 0 -728 -730 0 -730 0 0 730 0
730 728 2 727 3 3 728 2 727 -730 0 -730 0 0 -728 0 -727 -733 -733 -732 -732
-728 0 -727 0 0 732 0 733 717 717 718 718 -728 0 -727 0 0 750 0 750 753 0
754 0 278 -287z m15847 -943 c272 -13 541 -48 676 -86 l52 -15 0 -54 c0 -44
61 -296 105 -436 7 -20 6 -20 -23 -5 -120 62 -469 149 -727 182 -194 24 -519
24 -612 0 -135 -34 -202 -112 -189 -219 15 -133 138 -191 511 -242 99 -14 247
-34 328 -45 440 -61 680 -178 774 -375 45 -95 67 -216 60 -325 -24 -357 -232
-532 -708 -596 -136 -18 -612 -21 -820 -4 -226 18 -454 47 -586 76 l-73 16 0
47 c-1 25 -18 152 -39 281 -20 129 -37 236 -35 238 1 2 22 -11 48 -28 25 -18
86 -49 134 -70 267 -116 590 -171 1002 -171 305 -1 418 23 483 101 39 45 51
101 37 162 -30 124 -135 161 -670 238 -430 62 -640 126 -795 243 -105 79 -160
170 -190 311 -60 292 55 541 308 665 209 101 483 134 949 111z m3614 0 c260
-13 527 -48 687 -91 l37 -10 0 -61 c0 -42 15 -117 50 -243 28 -100 50 -187 50
-193 0 -6 -30 3 -66 19 -338 153 -1108 238 -1347 149 -124 -46 -174 -170 -112
-276 53 -90 208 -137 625 -189 247 -30 350 -48 478 -81 386 -100 544 -275 544
-605 0 -185 -45 -307 -156 -419 -136 -137 -376 -212 -731 -229 -388 -18 -935
21 -1254 90 l-51 11 0 62 c0 52 -44 371 -66 480 l-6 29 33 -22 c150 -100 424
-188 709 -227 260 -35 660 -35 795 1 115 31 175 95 175 190 0 161 -89 200
-640 280 -368 54 -563 101 -705 172 -173 86 -271 202 -310 365 -20 84 -19 254
1 332 58 226 239 369 551 436 174 37 380 46 709 30z m-10536 -79 c0 -26 16
-140 35 -252 19 -112 35 -207 35 -211 0 -4 -38 11 -85 33 -136 64 -183 71
-502 76 -275 5 -282 4 -302 -16 -21 -21 -21 -23 -21 -811 0 -834 2 -873 46
-917 l23 -23 -349 0 -349 0 24 26 c13 14 28 48 34 75 7 33 11 318 11 839 0
788 0 790 -21 811 -20 20 -27 21 -302 16 -320 -5 -370 -13 -501 -76 -44 -22
-82 -38 -84 -36 -2 1 13 95 32 207 20 113 36 228 36 256 l0 52 1120 0 1120 0
0 -49z m977 31 c-45 -49 -47 -72 -47 -461 l0 -371 24 -15 c20 -14 93 -15 594
-13 452 2 574 6 584 16 10 10 13 91 13 375 0 383 -3 416 -48 465 l-20 22 347
0 347 0 -21 -22 c-45 -48 -45 -52 -45 -1048 0 -520 4 -966 8 -992 5 -27 19
-61 33 -78 l26 -30 -348 0 -347 0 20 22 c44 49 48 83 48 453 0 193 -3 362 -7
376 -6 19 -16 28 -39 33 -17 3 -275 6 -573 6 -416 0 -547 -3 -566 -13 l-25
-13 -3 -364 c-1 -201 0 -379 3 -396 3 -18 17 -48 30 -68 l24 -36 -345 0 -345
0 20 22 c46 49 46 38 46 1063 0 1025 0 1014 -46 1063 l-20 22 347 0 c333 0
346 -1 331 -18z m4273 -41 c0 -32 16 -150 35 -262 19 -112 35 -205 35 -205 0
-1 -33 9 -73 21 -92 29 -283 69 -412 87 -142 19 -1028 19 -1047 0 -19 -19 -19
-425 0 -444 10 -10 106 -13 455 -13 462 0 531 5 657 50 42 15 42 15 37 -8 -20
-83 -57 -296 -63 -364 l-7 -82 -533 -3 c-421 -2 -536 -6 -546 -16 -10 -10 -13
-65 -13 -227 0 -117 3 -217 7 -221 4 -4 29 -11 55 -15 71 -12 1040 -11 1168 1
155 14 279 54 361 115 l31 23 -39 -226 c-21 -125 -38 -248 -38 -274 l0 -48
-1085 0 -1086 0 21 28 c12 16 25 46 30 68 6 22 10 456 10 989 0 533 -4 967
-10 989 -5 22 -18 52 -30 68 l-21 28 1051 0 1050 0 0 -59z m3621 37 c-46 -49
-46 -38 -46 -1058 0 -1017 0 -1019 45 -1068 l21 -22 -342 0 -342 0 20 23 c12
12 26 40 32 62 15 56 15 1939 0 2000 -6 24 -20 53 -30 64 l-20 21 341 0 341 0
-20 -22z"
/>
</g>
<path
d="M32.5583 6.88138L26.1097 13.3301H32.5583V19.7796H26.1097L19.6602 13.3301V6.88138L26.1097 0.431885H32.5583V6.88138Z"
fill="#FBDE6F"
/>
<path
d="M19.6602 19.7796V13.3301H13.2107V19.7796H19.6602Z"
fill="#FBDE6F"
/>
<path
d="M19.6602 6.88139V0.431885L13.2107 0.431885V6.88139H19.6602Z"
fill="#FBDE6F"
/>
<path
d="M13.2095 6.88138V13.3301L6.76005 19.7796H0.310547V13.3301L6.76005 6.88138H0.310547V0.431885H6.76005L13.2095 6.88138Z"
fill="#FBDE6F"
/>
<path
d="M43.0303 14.9234C43.1049 14.9234 43.1802 14.8489 43.2548 14.699C43.3293 14.549 43.3674 14.3026 43.3674 13.9606V7.53707C43.3674 7.30204 43.3407 7.16265 43.2872 7.1197C43.2337 7.07674 43.0465 7.05567 42.7256 7.05567H41.5529C40.9321 7.05567 40.4312 7.12294 40.0511 7.25666C39.671 7.39038 39.4222 7.516 39.3047 7.63433L39.6256 5.77193V5.29053H49.5819V5.77193L49.9028 7.63433C49.7845 7.51681 49.5357 7.39119 49.1564 7.25666C48.7763 7.12294 48.2755 7.05567 47.6547 7.05567H46.4982C46.1659 7.05567 45.9738 7.07755 45.9203 7.1197C45.8668 7.16265 45.8401 7.30204 45.8401 7.53707V13.9606C45.8401 14.3035 45.8774 14.5498 45.9527 14.699C46.0273 14.8489 46.1027 14.9234 46.1772 14.9234H43.0295H43.0303Z"
fill="white"
/>
<path
d="M50.866 14.9234C50.9406 14.9234 51.016 14.8488 51.0905 14.6989C51.1651 14.5489 51.2032 14.3026 51.2032 13.9606V6.25243C51.2032 5.90962 51.1659 5.66648 51.0905 5.52142C51.0152 5.37716 50.9406 5.29935 50.866 5.28882H54.0138C53.9384 5.28882 53.8639 5.36419 53.7893 5.51331C53.7139 5.66324 53.6767 5.91448 53.6767 6.26783V8.72509C53.6767 8.96093 53.7058 9.09952 53.765 9.14247C53.8233 9.18543 54.0138 9.2065 54.3347 9.2065H58.4615C58.7824 9.2065 58.9697 9.18786 59.0231 9.15058C59.0766 9.1133 59.1034 8.97147 59.1034 8.72509V6.25243C59.1034 5.90962 59.0661 5.66648 58.9907 5.52142C58.9154 5.37716 58.8408 5.29935 58.7662 5.28882H61.914C61.8386 5.28882 61.7641 5.36419 61.6895 5.51331C61.6141 5.66324 61.5768 5.91448 61.5768 6.26783V13.9597C61.5768 14.3026 61.6141 14.5489 61.6895 14.6981C61.7641 14.848 61.8394 14.9225 61.914 14.9225H58.7662C58.8408 14.9225 58.9162 14.848 58.9907 14.6981C59.0653 14.5481 59.1034 14.3017 59.1034 13.9597V11.4547C59.1034 11.2083 59.0742 11.0665 59.015 11.0292C58.9559 10.9919 58.7711 10.9733 58.4607 10.9733H54.3339C54.013 10.9733 53.8225 10.9951 53.7642 11.0373C53.705 11.0802 53.6758 11.2196 53.6758 11.4547V13.9597C53.6758 14.3026 53.7131 14.5489 53.7885 14.6981C53.8631 14.848 53.9384 14.9225 54.013 14.9225H50.8652L50.866 14.9234Z"
fill="white"
/>
<path
d="M63.5203 14.9234C63.5949 14.9234 63.6703 14.8488 63.7448 14.6989C63.8194 14.5489 63.8575 14.3026 63.8575 13.9606V6.25243C63.8575 5.90962 63.8202 5.66648 63.7448 5.52142C63.6695 5.37716 63.5949 5.29935 63.5203 5.28882H72.898V5.77022L73.2189 7.63262C72.9515 7.5151 72.4806 7.38949 71.8055 7.25495C71.1312 7.12123 70.3175 7.05396 69.3644 7.05396H66.9882C66.6673 7.05396 66.4768 7.07828 66.4185 7.12609C66.3593 7.17391 66.3301 7.31087 66.3301 7.53537V8.72347C66.3301 8.95931 66.3593 9.0979 66.4185 9.14085C66.4768 9.1838 66.6616 9.20488 66.9728 9.20488H69.285C69.9058 9.20488 70.4067 9.17003 70.7868 9.10033C71.1669 9.03063 71.4157 8.9585 71.5332 8.88394C71.4902 9.08736 71.4424 9.3232 71.3889 9.59065C71.3354 9.85809 71.2925 10.115 71.2601 10.3614C71.2276 10.6078 71.2122 10.8112 71.2122 10.9716H66.9728C66.6624 10.9716 66.4776 10.9903 66.4185 11.0276C66.3593 11.0648 66.3301 11.2067 66.3301 11.453V12.6412C66.3301 12.8875 66.3569 13.0318 66.4104 13.0747C66.4639 13.1177 66.6511 13.1388 66.972 13.1388H71.3079C71.9287 13.1388 72.4295 13.0666 72.8096 12.9224C73.1897 12.7781 73.4385 12.6363 73.5561 12.4969L73.2351 14.4241V14.9217H63.5195L63.5203 14.9234Z"
fill="white"
/>
<path
d="M79.885 15.0839C78.718 15.0839 77.6846 15.0304 76.7859 14.9234C75.8863 14.8164 75.2387 14.7095 74.8424 14.6025V14.1211L74.5215 12.082C74.7249 12.253 75.0621 12.4354 75.5329 12.6283C76.0038 12.8211 76.6084 12.984 77.3475 13.1178C78.0858 13.2515 78.9425 13.3187 79.9166 13.3187C80.5163 13.3187 80.9767 13.2782 81.2976 13.198C81.6185 13.1178 81.8382 13.0027 81.9557 12.8527C82.0732 12.7028 82.1324 12.5261 82.1324 12.3227C82.1324 12.0658 82.0464 11.8648 81.8754 11.7206C81.7036 11.5763 81.3965 11.4555 80.9524 11.3591C80.5082 11.2627 79.8793 11.1614 79.0656 11.0544C78.0915 10.9255 77.2778 10.7496 76.6246 10.5243C75.9714 10.2998 75.4843 9.98135 75.1634 9.56883C74.8424 9.15713 74.682 8.60846 74.682 7.92282C74.682 7.36605 74.8262 6.87897 75.1155 6.4616C75.4049 6.04422 75.8701 5.71761 76.5127 5.48177C77.1554 5.24674 78.0064 5.12842 79.0656 5.12842C80.1792 5.12842 81.1315 5.18191 81.9241 5.28889C82.7159 5.39586 83.2621 5.50284 83.562 5.60982V6.09122L84.0434 7.85799C83.7759 7.7194 83.3902 7.57433 82.8869 7.4244C82.3836 7.27447 81.8001 7.14885 81.1363 7.04674C80.4726 6.94543 79.7553 6.89437 78.9846 6.89437C78.5032 6.89437 78.128 6.93489 77.8605 7.01513C77.5931 7.09536 77.4026 7.20801 77.2908 7.35227C77.1781 7.49653 77.1222 7.67645 77.1222 7.8904C77.1222 8.14732 77.2211 8.35398 77.4196 8.50877C77.6174 8.66438 77.9416 8.79 78.3913 8.88644C78.8411 8.98288 79.4457 9.07365 80.2059 9.15956C81.373 9.28842 82.2717 9.48049 82.9039 9.7374C83.5352 9.99431 83.9721 10.3234 84.2128 10.7253C84.4535 11.1265 84.5742 11.6111 84.5742 12.1785C84.5742 12.6712 84.4834 13.1015 84.3011 13.4711C84.1187 13.8407 83.8375 14.143 83.4582 14.3788C83.0781 14.6146 82.5911 14.7913 81.997 14.9088C81.403 15.0263 80.6987 15.0855 79.885 15.0855V15.0839Z"
fill="white"
/>
<path
d="M86.0195 14.923C86.0941 14.923 86.1662 14.8509 86.2359 14.7066C86.3056 14.5624 86.3405 14.3136 86.3405 13.9602V6.25211C86.3405 5.9093 86.3056 5.66373 86.2359 5.5138C86.1662 5.36387 86.0941 5.28931 86.0195 5.28931H89.1187C89.0433 5.28931 88.9687 5.36144 88.8942 5.50569C88.8188 5.64995 88.7815 5.90443 88.7815 6.26832V13.9602C88.7815 14.303 88.8188 14.5494 88.8942 14.6985C88.9687 14.8485 89.0441 14.923 89.1187 14.923H86.0195Z"
fill="white"
/>
<path
d="M95.926 15.0839C94.759 15.0839 93.7257 15.0304 92.8269 14.9234C91.9273 14.8164 91.2797 14.7095 90.8834 14.6025V14.1211L90.5625 12.082C90.7659 12.253 91.1031 12.4354 91.5739 12.6283C92.0448 12.8211 92.6494 12.984 93.3885 13.1178C94.1268 13.2515 94.9835 13.3187 95.9576 13.3187C96.5573 13.3187 97.0177 13.2782 97.3386 13.198C97.6595 13.1178 97.8792 13.0027 97.9967 12.8527C98.1142 12.7028 98.1734 12.5261 98.1734 12.3227C98.1734 12.0658 98.0875 11.8648 97.9165 11.7206C97.7446 11.5763 97.4375 11.4555 96.9934 11.3591C96.5492 11.2627 95.9203 11.1614 95.1066 11.0544C94.1325 10.9255 93.3188 10.7496 92.6656 10.5243C92.0124 10.2998 91.5253 9.98135 91.2044 9.56883C90.8834 9.15713 90.723 8.60846 90.723 7.92282C90.723 7.36605 90.8672 6.87897 91.1566 6.4616C91.4459 6.04422 91.9111 5.71761 92.5538 5.48177C93.1964 5.24674 94.0474 5.12842 95.1066 5.12842C96.2202 5.12842 97.1725 5.18191 97.9651 5.28889C98.7569 5.39586 99.3031 5.50284 99.603 5.60982V6.09122L100.084 7.85799C99.8169 7.7194 99.4312 7.57433 98.9279 7.4244C98.4246 7.27447 97.8411 7.14885 97.1773 7.04674C96.5136 6.94543 95.7963 6.89437 95.0256 6.89437C94.5442 6.89437 94.169 6.93489 93.9015 7.01513C93.6341 7.09536 93.4436 7.20801 93.3318 7.35227C93.2191 7.49653 93.1632 7.67645 93.1632 7.8904C93.1632 8.14732 93.2621 8.35398 93.4606 8.50877C93.6584 8.66438 93.9826 8.79 94.4324 8.88644C94.8822 8.98288 95.4867 9.07365 96.2469 9.15956C97.414 9.28842 98.3128 9.48049 98.9449 9.7374C99.5762 9.99431 100.013 10.3234 100.254 10.7253C100.494 11.1265 100.615 11.6111 100.615 12.1785C100.615 12.6712 100.524 13.1015 100.342 13.4711C100.16 13.8407 99.8785 14.143 99.4993 14.3788C99.1192 14.6146 98.6321 14.7913 98.038 14.9088C97.444 15.0263 96.7397 15.0855 95.926 15.0855V15.0839Z"
fill="white"
/>
</svg>
);
};
Loading

0 comments on commit 5e22098

Please sign in to comment.