Skip to content

Commit

Permalink
remove p1
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenhoaidanh committed Oct 9, 2023
1 parent 0ec24fe commit 631d4e4
Show file tree
Hide file tree
Showing 15 changed files with 32 additions and 56 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
5 changes: 1 addition & 4 deletions src/components/Announcement/Popups/TopRightPopup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,7 @@ const Overlay = styled.div`
width: 100%;
height: 100%;
background: ${({ theme }) =>
`linear-gradient(180deg, ${rgba(theme.darkMode ? theme.black : theme.white, 0)} 40.1%, ${rgba(
theme.darkMode ? theme.black : theme.white,
0.8,
)} 100%)`};
`linear-gradient(180deg, ${rgba(theme.black, 0)} 40.1%, ${rgba(theme.black, 0.8)} 100%)`};
`

export default function PopupItem({ popup, hasOverlay }: { popup: PopupItemType; hasOverlay: boolean }) {
Expand Down
6 changes: 1 addition & 5 deletions src/components/ExchangeIcons/Bitrue.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
import { useIsDarkMode } from 'state/user/hooks'

function Bitrue({ width, height }: { width?: number; height?: number }) {
const isDarkMode = useIsDarkMode()

return (
<svg width={width || 160} height={height || 44} viewBox="0 0 160 44" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M51.9926 27.5329C51.9926 28.3372 52.1535 29.0878 52.4485 29.7849C52.7434 30.4819 53.1457 31.0985 53.6551 31.6347C54.7009 32.7071 56.1488 33.3237 57.6504 33.3237C59.152 33.3237 60.6 32.7071 61.6457 31.6347C62.7183 30.5355 63.3082 29.061 63.2814 27.5329C63.2814 26.0048 62.6915 24.5303 61.6457 23.4312C61.1363 22.895 60.5195 22.4928 59.8492 22.1979C59.152 21.903 58.4012 21.7422 57.6504 21.7422C56.1488 21.7422 54.7009 22.3588 53.6551 23.4312C53.1457 23.9673 52.7166 24.5839 52.4485 25.281C52.1267 25.978 51.9926 26.7555 51.9926 27.5329ZM47.2465 11.6084C47.2465 11.2599 47.3002 10.9382 47.4342 10.6165C47.5415 10.3216 47.7292 10.0535 47.9437 9.81222C48.1582 9.59775 48.4264 9.41009 48.6945 9.27604C48.9895 9.142 49.3112 9.08838 49.633 9.08838C49.9816 9.08838 50.2765 9.142 50.5715 9.27604C51.1346 9.54413 51.5904 10.0267 51.8049 10.6165C51.9122 10.9114 51.9658 11.2599 51.9658 11.6084V19.812C52.2072 19.383 52.5289 19.0077 52.9311 18.6324C53.3333 18.257 53.816 17.9621 54.3255 17.694C54.8349 17.426 55.3712 17.2115 55.9343 17.0506C56.4974 16.8898 57.0605 16.8093 57.6236 16.8093C59.0179 16.8093 60.3855 17.0774 61.6457 17.6404C62.8792 18.1766 64.0054 18.9541 64.9439 19.946C65.8824 20.9379 66.6332 22.0907 67.1694 23.3507C67.7057 24.6644 68.0007 26.0852 68.0007 27.5061C68.0007 28.927 67.7325 30.3479 67.1694 31.6347C66.6332 32.8947 65.8824 34.0207 64.9439 35.0126C64.0054 35.9777 62.8792 36.7552 61.6457 37.2914C60.3855 37.8544 59.0179 38.1493 57.6236 38.1225C56.2293 38.1225 54.8618 37.8544 53.6015 37.2914C52.368 36.7552 51.2418 35.9777 50.3034 35.0126C49.338 34.0475 48.5872 32.8947 48.051 31.6347C47.4879 30.3211 47.2197 28.927 47.2197 27.5061V11.6084H47.2465ZM71.1111 19.249C71.1111 18.2838 71.701 17.3992 72.5859 17.0238C72.8809 16.8898 73.2026 16.8362 73.5244 16.8362C73.8462 16.8362 74.1411 16.8898 74.4361 17.0238C74.9992 17.2919 75.4282 17.7477 75.6427 18.3107C75.75 18.6055 75.8304 18.9273 75.8304 19.249V35.7096C75.8304 36.3531 75.5891 36.9429 75.1601 37.4254C74.9455 37.6399 74.7042 37.8276 74.4093 37.9348C74.1143 38.0688 73.8194 38.1225 73.4976 38.1225C73.1758 38.1225 72.8541 38.0688 72.5859 37.9348C72.0228 37.6935 71.5402 37.2378 71.2988 36.648C71.1648 36.3531 71.1111 36.0314 71.1111 35.7096V19.249ZM70.9234 12.0106C70.9234 11.3135 71.1916 10.6433 71.6742 10.1339C71.9155 9.89265 72.1837 9.70499 72.4786 9.57094C72.8004 9.4369 73.1222 9.35647 73.4976 9.35647C73.8462 9.35647 74.1679 9.4369 74.4897 9.57094C74.8115 9.70499 75.0796 9.89265 75.2941 10.1339C75.5355 10.3752 75.7232 10.6433 75.8572 10.965C75.9913 11.2867 76.0717 11.6352 76.0717 11.9837C76.0717 12.3591 75.9913 12.7076 75.8572 13.0293C75.7232 13.351 75.5355 13.6191 75.2941 13.8604C75.0528 14.1016 74.7847 14.2893 74.4897 14.4234C74.1679 14.5574 73.8462 14.6378 73.4976 14.6378C73.1222 14.6378 72.8004 14.5574 72.4786 14.4234C72.1837 14.2893 71.8887 14.1016 71.6742 13.8604C71.1916 13.3778 70.9234 12.7076 70.9234 12.0106ZM78.914 12.9489C78.914 11.9569 79.4771 11.0722 80.3888 10.6701C80.6838 10.5361 80.9787 10.4824 81.3005 10.4824C81.944 10.4824 82.5608 10.7237 83.0166 11.1795C83.2311 11.3939 83.4188 11.662 83.5529 11.9569C83.687 12.2518 83.7674 12.5735 83.7674 12.9221V16.4608H91.2217C91.5435 16.4608 91.8653 16.5145 92.1602 16.6485C92.7233 16.8898 93.1792 17.3723 93.4205 17.9353C93.5546 18.2302 93.6082 18.5519 93.6082 18.8736C93.6082 19.1953 93.5546 19.4902 93.4205 19.7851C93.0451 20.643 92.187 21.206 91.2217 21.206H83.7674V27.5865C83.7674 28.3908 83.9015 29.1415 84.1964 29.8385C84.4914 30.5355 84.8668 31.1253 85.3763 31.6615C85.8589 32.1709 86.4488 32.573 87.1192 32.8679C87.7895 33.1628 88.5135 33.2968 89.3179 33.2968C90.0151 33.2968 90.6586 33.1896 91.2485 33.002C91.8385 32.7875 92.4016 32.4658 92.911 32.01C93.206 31.7687 93.4741 31.5543 93.7423 31.4202C94.0104 31.2594 94.3322 31.1789 94.7076 31.1789C94.9757 31.1789 95.2439 31.2326 95.4852 31.3666C95.7533 31.4738 95.9678 31.6347 96.1555 31.8492C96.3432 32.0636 96.5041 32.3049 96.6382 32.5998C96.7723 32.8947 96.8259 33.1896 96.8259 33.5113C96.8259 33.8866 96.7454 34.262 96.6114 34.6105C96.4773 34.959 96.2628 35.2807 95.9678 35.5488C95.1098 36.4067 94.064 37.0769 92.9378 37.5058C91.8116 37.9348 90.605 38.1493 89.3179 38.1493C87.9236 38.1493 86.5293 37.8812 85.2422 37.3182C84.0087 36.782 82.8825 36.0314 81.944 35.0662C81.0056 34.1011 80.2547 32.9483 79.7185 31.7151C79.1554 30.4015 78.8872 28.9806 78.8872 27.5597V12.9489H78.914ZM99.9363 28.0155C99.9363 26.5142 100.231 25.0397 100.794 23.6724C101.331 22.3588 102.135 21.1256 103.127 20.1069C104.119 19.0881 105.299 18.2838 106.586 17.694C107.9 17.1043 109.348 16.8093 110.796 16.8093H110.85C111.627 16.8093 112.244 17.0238 112.646 17.4796C113.075 17.9353 113.29 18.5251 113.29 19.2222C113.29 19.5707 113.236 19.8924 113.102 20.1873C112.995 20.4822 112.807 20.7503 112.593 20.9647C112.137 21.4205 111.493 21.6618 110.85 21.6618H110.742C109.938 21.6618 109.16 21.8494 108.436 22.1711C107.712 22.4928 107.069 22.9486 106.506 23.5116C105.943 24.0746 105.514 24.718 105.165 25.4686C104.817 26.2193 104.656 27.0504 104.656 27.8814V35.522C104.656 35.8437 104.602 36.1654 104.468 36.4603C104.334 36.7552 104.173 36.9965 103.985 37.2378C103.771 37.4522 103.529 37.6399 103.261 37.7471C102.671 37.9884 102.028 37.9884 101.438 37.7471C101.143 37.6131 100.875 37.4522 100.66 37.2378C100.204 36.782 99.9363 36.1654 99.9363 35.522V28.0155ZM116.373 19.2222C116.373 18.5787 116.615 17.9889 117.044 17.5064C117.258 17.2919 117.5 17.1043 117.795 16.997C118.09 16.863 118.384 16.8093 118.706 16.8093C119.35 16.8093 119.94 17.0506 120.396 17.5064C120.61 17.7209 120.771 17.9889 120.905 18.2838C121.039 18.5787 121.093 18.9004 121.093 19.2222V27.8814C121.093 28.6589 121.227 29.3559 121.495 30.0262C122.004 31.313 123.023 32.3317 124.284 32.8947C124.927 33.1628 125.624 33.2968 126.375 33.2968C127.716 33.3237 129.03 32.7339 129.915 31.7151C130.344 31.2057 130.692 30.616 130.88 29.9993C131.094 29.3291 131.228 28.6053 131.228 27.8546V19.249C131.228 18.6055 131.497 17.9889 131.952 17.5332C132.167 17.3187 132.435 17.1311 132.73 17.0238C133.025 16.8898 133.32 16.8362 133.642 16.8362C134.258 16.8362 134.848 17.0774 135.277 17.5332C135.706 17.9889 135.948 18.6055 135.948 19.249V27.8546C135.948 29.2755 135.706 30.616 135.224 31.876C134.768 33.0824 134.098 34.1815 133.213 35.1467C132.355 36.085 131.336 36.8356 130.183 37.3718C129.003 37.908 127.743 38.1761 126.375 38.1761C124.981 38.1761 123.694 37.908 122.46 37.3718C121.254 36.8356 120.181 36.085 119.269 35.1467C117.392 33.1896 116.347 30.5891 116.347 27.8546V19.2222H116.373ZM144.341 29.7044C144.716 30.8036 145.386 31.7419 146.298 32.439C146.754 32.7607 147.236 33.0288 147.8 33.2164C148.336 33.4041 148.926 33.5113 149.516 33.5113C150.159 33.5113 150.669 33.4577 151.098 33.3505C151.5 33.2432 151.902 33.0556 152.278 32.8411C152.787 32.5462 153.243 32.3853 153.672 32.3853C153.994 32.3853 154.315 32.4658 154.584 32.5998C154.879 32.7339 155.12 32.9215 155.308 33.1628C155.737 33.6454 155.978 34.262 155.978 34.9054C155.978 35.3879 155.817 35.8437 155.522 36.2458C155.2 36.648 154.771 36.9965 154.208 37.2914C153.565 37.6131 152.867 37.8276 152.17 37.9348C151.312 38.0956 150.427 38.1761 149.543 38.1761C148.148 38.1761 146.781 37.908 145.494 37.345C144.26 36.8088 143.107 36.0314 142.169 35.0662C141.203 34.1011 140.453 32.9483 139.916 31.6883C139.353 30.3747 139.085 28.9806 139.085 27.5597C139.085 26.1389 139.353 24.718 139.916 23.3775C140.453 22.1175 141.203 20.9647 142.169 19.9996C143.134 19.0345 144.26 18.257 145.494 17.7209C146.781 17.1579 148.148 16.863 149.543 16.8898C150.964 16.8898 152.304 17.1579 153.565 17.7209C154.825 18.2838 155.924 19.0345 156.863 19.9728C157.828 20.9379 158.579 22.0639 159.115 23.3239C159.678 24.6108 159.973 25.978 160 27.4525C160 28.1495 159.785 28.7125 159.356 29.1415C158.927 29.5704 158.364 29.7849 157.694 29.7849L144.341 29.7044ZM155.093 25.6295C154.932 25.0397 154.664 24.4499 154.315 23.9405C153.967 23.4312 153.565 23.0022 153.082 22.6269C152.599 22.2516 152.063 21.9567 151.473 21.769C150.883 21.5545 150.24 21.4741 149.569 21.4741C148.899 21.4741 148.282 21.5813 147.692 21.7958C147.102 22.0103 146.566 22.3052 146.11 22.6805C145.654 23.0558 145.225 23.5116 144.904 23.9941C144.582 24.5035 144.314 25.0397 144.18 25.6295H155.093Z"
fill={isDarkMode ? '#FFF' : '#222222'}
fill="#FFF"
/>
<path
d="M31.8016 29.1681V7.42607L38.1565 11.0453V32.8141L26.4924 39.4627L20.1374 35.8435L31.8016 29.1681ZM0 19.4633L6.35495 15.8441V29.1145L25.4466 39.9721L19.0917 43.5913L0 32.7337V19.4633ZM19.0917 0L30.7558 6.62181V13.887L19.0917 7.26522L0 18.1496V10.9112L19.0917 0ZM11.9591 12.9219L16.2762 10.4823V19.5973C16.732 19.2756 17.751 18.4714 19.333 18.4714C21.3709 18.4714 23.1138 19.1684 24.5618 20.5893C26.0097 22.0101 26.7069 23.7259 26.7069 25.7366C26.7069 27.7472 25.9829 29.463 24.5618 30.8839C23.1138 32.3048 21.3977 33.0286 19.333 33.0286C17.2683 33.0286 15.5254 32.3048 14.1042 30.8839C12.6563 29.463 11.9591 27.7472 11.9591 25.7366V12.9219ZM17.1611 27.8545C17.751 28.4443 18.4749 28.7392 19.333 28.7392C20.1642 28.7392 20.8882 28.4443 21.4781 27.8545C22.068 27.2915 22.3898 26.514 22.3898 25.7098C22.3898 24.8787 22.0949 24.1817 21.4781 23.5919C20.915 23.0289 20.1374 22.7072 19.333 22.7072C18.5018 22.7072 17.7778 23.0021 17.1611 23.5919C16.5711 24.128 16.2494 24.9055 16.2494 25.7098C16.2762 26.5408 16.5711 27.2647 17.1611 27.8545Z"
Expand Down
18 changes: 7 additions & 11 deletions src/components/ExchangeIcons/Etoro.tsx
Original file line number Diff line number Diff line change
@@ -1,37 +1,33 @@
import { useIsDarkMode } from 'state/user/hooks'

function Etoro({ width, height }: { width?: number; height?: number }) {
const isDarkMode = useIsDarkMode()

return (
<svg width={width || 160} height={height || 51} viewBox="0 0 160 51" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M159.612 19.098C158.69 15.6142 151.517 7.62187 146.292 1.16655C146.189 1.06408 145.882 0.551758 145.267 0.551758C144.755 0.551758 144.345 1.06408 144.55 1.47395C144.755 1.88381 149.775 12.3353 148.853 15.7166C147.931 19.2005 143.32 18.4832 142.603 18.4832C142.193 18.4832 142.5 18.7906 142.91 19.2005C145.472 21.4547 147.111 24.6311 147.111 28.7297V31.8037C147.111 31.9062 147.111 31.9062 147.214 31.9062C153.054 31.3938 161.969 27.8075 159.612 19.098Z"
fill={isDarkMode ? 'white' : '#00C636'}
fill="white"
/>
<path
d="M136.967 39.2835C136.967 42.255 132.971 43.8944 130.409 43.8944C127.643 43.8944 123.749 42.255 123.749 39.2835V28.832C123.749 25.8605 127.643 24.5285 130.409 24.5285C132.971 24.5285 136.967 25.963 136.967 28.832V39.2835ZM130.409 17.9707C124.262 18.0732 117.089 21.557 117.089 28.7296V39.6934C117.089 46.9684 124.262 50.4522 130.409 50.4522C136.455 50.3498 143.628 46.9684 143.628 39.6934V28.832C143.628 21.6595 136.455 18.0732 130.409 17.9707Z"
fill={isDarkMode ? 'white' : '#00C636'}
fill="white"
/>
<path
d="M90.6529 39.2835C90.6529 42.255 86.6567 43.8944 84.0951 43.8944C81.3285 43.8944 77.4348 42.255 77.4348 39.2835V28.832C77.4348 25.8605 81.3285 24.5285 84.0951 24.5285C86.6567 24.5285 90.6529 25.963 90.6529 28.832V39.2835ZM83.9926 17.9707C77.8447 18.0732 70.6721 21.557 70.6721 28.7296V39.6934C70.6721 46.9684 77.8447 50.4522 83.9926 50.4522C90.0381 50.3498 97.2107 46.9684 97.2107 39.6934V28.832C97.2107 21.6595 90.0381 18.0732 83.9926 17.9707Z"
fill={isDarkMode ? 'white' : '#00C636'}
fill="white"
/>
<path
d="M17.1852 19.2005C17.5951 18.7906 17.9025 18.4832 17.4926 18.4832C16.7754 18.4832 12.1644 19.2005 11.2422 15.7166C10.3201 12.2328 15.3409 1.88381 15.5458 1.47395C15.6483 1.06408 15.3409 0.551758 14.7261 0.551758C14.2137 0.551758 13.8039 1.16655 13.7014 1.16655C8.57814 7.62187 1.3031 15.6142 0.380915 19.098C-1.97579 27.8075 7.14363 31.3938 12.8817 32.0086C12.9842 32.0086 12.9842 31.9062 12.9842 31.9062V28.8322C13.0866 24.6311 14.6236 21.4547 17.1852 19.2005Z"
fill={isDarkMode ? 'white' : '#00C636'}
fill="white"
/>
<path
d="M70.2623 20.4303C65.344 19.0983 61.7577 18.5859 56.4295 18.5859C51.2038 18.5859 47.515 19.0983 42.5967 20.4303C42.3918 20.5328 42.2893 20.7377 42.3918 20.8402C44.0312 22.2747 44.7485 24.1191 45.0559 26.1684C47.72 25.5536 50.1791 25.1437 53.0482 24.9388V50.2477C53.0482 50.3502 53.1506 50.3502 53.2531 50.3502H59.6059C59.7084 50.3502 59.8109 50.3502 59.8109 50.2477V24.9388C62.5774 25.1437 64.8317 25.4511 67.4958 26.1684C67.9056 24.1191 68.7254 22.1722 70.4673 20.8402C70.4673 20.6352 70.3648 20.4303 70.2623 20.4303Z"
fill={isDarkMode ? 'white' : '#00C636'}
fill="white"
/>
<path
d="M117.294 18.2783C116.782 18.1758 115.45 17.9709 114.22 18.0733C108.175 18.2783 101.309 21.8646 101.309 28.8322V50.4524C101.309 50.5549 101.412 50.5549 101.514 50.5549H107.867C107.97 50.5549 108.072 50.5549 108.072 50.4524V28.8322C108.072 26.4755 110.941 25.1434 113.298 24.6311C114.015 22.3769 115.347 20.635 117.396 18.9955C117.704 18.6881 117.601 18.2783 117.294 18.2783Z"
fill={isDarkMode ? 'white' : '#00C636'}
fill="white"
/>
<path
d="M35.5265 30.6763C35.5265 30.7787 35.5265 30.7787 35.424 30.8812C35.424 30.9837 35.3216 30.9837 35.2191 30.9837H23.1282V28.8319C23.1282 25.8604 26.7145 24.4259 29.481 24.4259C32.1451 24.4259 35.5265 25.8604 35.5265 28.8319V30.6763ZM29.481 17.7656C23.2307 17.8681 16.3655 21.4544 16.3655 28.7294V39.7957C16.3655 47.1732 23.2307 50.657 29.481 50.7595C33.9895 50.7595 39.0103 48.9151 41.4695 44.9189C41.572 44.8165 41.4695 44.6116 41.367 44.5091C39.2153 43.2795 37.9857 42.5622 35.8339 41.4351C35.7314 41.4351 35.7314 41.4351 35.629 41.5376C34.5018 43.4844 31.5304 44.5091 29.481 44.5091C26.7145 44.5091 23.1282 42.7672 23.1282 39.7957V36.5168H40.4448C41.367 36.5168 42.0843 35.7995 42.0843 34.8773V28.8319C42.0843 21.4544 35.629 17.8681 29.481 17.7656Z"
fill={isDarkMode ? 'white' : '#00C636'}
fill="white"
/>
</svg>
)
Expand Down
2 changes: 1 addition & 1 deletion src/components/Header/web3/NetworkModal/Networks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const ListItem = styled.div<{ selected?: boolean }>`
${({ theme, selected }) =>
selected &&
css`
background-color: ${theme.darkMode ? theme.buttonBlack : theme.buttonGray};
background-color: ${theme.buttonBlack};
& > div {
color: ${theme.text};
}
Expand Down
16 changes: 5 additions & 11 deletions src/pages/TrueSightV2/components/RequireConnectWallet.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import { Trans } from '@lingui/macro'
import { ReactNode } from 'react'
import { Text } from 'rebass'
import styled, { DefaultTheme } from 'styled-components'
import styled from 'styled-components'

import blur11d from 'assets/images/truesight-v2/blurred-charts/blur-1-1-dark.png'
import blur11l from 'assets/images/truesight-v2/blurred-charts/blur-1-1-light.png'
import blur21d from 'assets/images/truesight-v2/blurred-charts/blur-2-1-dark.png'
import blur21l from 'assets/images/truesight-v2/blurred-charts/blur-2-1-light.png'
// import blur12d from 'assets/images/truesight-v2/blurred-charts/blur-1-2-dark.png'
// import blur13d from 'assets/images/truesight-v2/blurred-charts/blur-1-3-dark.png'
import { ButtonPrimary } from 'components/Button'
Expand All @@ -31,26 +29,22 @@ const StyledRequireConnectWalletWrapper = styled.div<{ bgUrl?: string; height?:
box-shadow: 0 4px 8px ${({ theme }) => (theme.darkMode ? 'rgba(0,0,0,0.5)' : 'rgba(0,0,0,0.1)')};
`

const getBlurredImageUrl = (chartType: number, tab: ChartTab, theme: DefaultTheme) => {
const getBlurredImageUrl = (chartType: number, tab: ChartTab) => {
switch (chartType) {
case 1: {
switch (tab) {
case ChartTab.First:
return theme.darkMode ? blur11d : blur11l
case ChartTab.Second:
return theme.darkMode ? blur11d : blur11l
case ChartTab.Third:
return theme.darkMode ? blur11d : blur11l
return blur11d
}
}
case 2: {
switch (tab) {
case ChartTab.First:
return theme.darkMode ? blur21d : blur21l
case ChartTab.Second:
return theme.darkMode ? blur21d : blur21l
case ChartTab.Third:
return theme.darkMode ? blur21d : blur21l
return blur21d
}
}
}
Expand All @@ -71,7 +65,7 @@ export default function RequireConnectWalletWrapper({
const { account } = useActiveWeb3React()
const theme = useTheme()
const toggleWalletModal = useWalletModalToggle()
const bgUrl = chartType && tab !== undefined ? getBlurredImageUrl(chartType, tab, theme) : ''
const bgUrl = chartType && tab !== undefined ? getBlurredImageUrl(chartType, tab) : ''
if (!account)
return (
<StyledRequireConnectWalletWrapper bgUrl={bgUrl} height={height}>
Expand Down
8 changes: 3 additions & 5 deletions src/pages/TrueSightV2/pages/LandingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import styled, { css } from 'styled-components'
import apeImage from 'assets/images/truesight-v2/landing-page/ape-image.png'
import backgroundImage from 'assets/images/truesight-v2/landing-page/background-gradient.png'
import bitcoinImage from 'assets/images/truesight-v2/landing-page/bitcoin.png'
import chartLightImage from 'assets/images/truesight-v2/landing-page/chart-light.png'
import chartImage from 'assets/images/truesight-v2/landing-page/chart.png'
import coreEditImage from 'assets/images/truesight-v2/landing-page/core-edit.png'
import ethereumImage from 'assets/images/truesight-v2/landing-page/ethereum.png'
Expand All @@ -24,7 +23,6 @@ import iconImage from 'assets/images/truesight-v2/landing-page/icon.png'
import image1 from 'assets/images/truesight-v2/landing-page/image1.png'
import kyberscoreMeterLightImage from 'assets/images/truesight-v2/landing-page/kyberscore-meter-light.png'
import kyberscoreMeterImage from 'assets/images/truesight-v2/landing-page/kyberscore-meter.png'
import liveDexTradesLightImage from 'assets/images/truesight-v2/landing-page/live-dex-trades-light.png'
import liveDexTradesImage from 'assets/images/truesight-v2/landing-page/live-dex-trades.png'
import starsMobileImage from 'assets/images/truesight-v2/landing-page/stars-mobile.png'
import starsImage from 'assets/images/truesight-v2/landing-page/stars.png'
Expand Down Expand Up @@ -434,23 +432,23 @@ export default function KyberAILandingPage() {
>
<FloatingImageWithMotion src={bitcoinImage} alt="bitcoin" left={0} top={320} parallaxDistance={6} />
<FloatingImageWithMotion
src={theme.darkMode ? chartImage : chartLightImage}
src={chartImage}
alt="chart"
left={660}
top={400}
parallaxDistance={9}
style={{ scale: 0.5 }}
/>
<FloatingImageWithMotion
src={theme.darkMode ? liveDexTradesImage : liveDexTradesLightImage}
src={liveDexTradesImage}
alt="live dex trade"
left={-200}
top={190}
parallaxDistance={10}
style={{ scale: 0.5 }}
/>
<FloatingImageWithMotion
src={theme.darkMode ? kyberscoreMeterImage : kyberscoreMeterLightImage}
src={kyberscoreMeterImage}
alt="kyberscore"
left={550}
top={-20}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/TrueSightV2/pages/SingleToken.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ const TokenNameGroup = ({ token, isLoading }: { token?: IAssetOverview; isLoadin
wrapperStyle={useMemo(() => {
return {
color: theme.subText,
backgroundColor: theme.darkMode ? theme.buttonGray : theme.background,
backgroundColor: theme.buttonGray,
height: above768 ? '36px' : '32px',
width: above768 ? '36px' : '32px',
borderRadius: '100%',
Expand Down
Loading

0 comments on commit 631d4e4

Please sign in to comment.