Skip to content

Commit

Permalink
update logo chain
Browse files Browse the repository at this point in the history
  • Loading branch information
viet-nv committed Aug 16, 2023
1 parent 78ca7b8 commit b2ac132
Show file tree
Hide file tree
Showing 15 changed files with 20 additions and 50 deletions.
Binary file removed src/assets/networks/avax-network.png
Binary file not shown.
Binary file removed src/assets/networks/bsc-network.png
Binary file not shown.
Binary file removed src/assets/networks/bttc.png
Binary file not shown.
Binary file removed src/assets/networks/ethw.png
Binary file not shown.
Binary file removed src/assets/networks/polygon-network.png
Binary file not shown.
Binary file removed src/assets/networks/zksync-network.png
Binary file not shown.
12 changes: 0 additions & 12 deletions src/assets/svg/eth_pow.svg

This file was deleted.

2 changes: 1 addition & 1 deletion src/constants/networks/avax.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const avaxInfo: EVMNetworkInfo = {
poolFarmRoute: 'avalanche',
aggregatorRoute: 'avalanche',
name: 'Avalanche',
icon: AVAX,
icon: 'https://storage.googleapis.com/ks-setting-a3aa20b7/31645e2e-9c40-4fdf-9ddf-50d24e5399e4.svg',
iconDark: NOT_SUPPORT,
iconSelected: NOT_SUPPORT,
iconDarkSelected: NOT_SUPPORT,
Expand Down
3 changes: 1 addition & 2 deletions src/constants/networks/bnb.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { ChainId } from '@kyberswap/ks-sdk-core'

import BnbLogo from 'assets/images/bnb-logo.png'
import BSC from 'assets/networks/bsc-network.png'
import { KS_SETTING_API } from 'constants/env'
import { EVMNetworkInfo } from 'constants/networks/type'

Expand All @@ -16,7 +15,7 @@ const bnbInfo: EVMNetworkInfo = {
poolFarmRoute: 'bsc',
aggregatorRoute: 'bsc',
name: 'BNB Chain',
icon: BSC,
icon: 'https://storage.googleapis.com/ks-setting-a3aa20b7/a44a3dbc-9150-4278-8354-7b5953f9a1ab.svg',
iconDark: NOT_SUPPORT,
iconSelected: NOT_SUPPORT,
iconDarkSelected: NOT_SUPPORT,
Expand Down
2 changes: 1 addition & 1 deletion src/constants/networks/bttc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const bttcInfo: EVMNetworkInfo = {
poolFarmRoute: 'bttc',
aggregatorRoute: 'bttc',
name: 'BitTorrent',
icon: BTT,
icon: 'https://storage.googleapis.com/ks-setting-a3aa20b7/4877aa34-b675-4fb3-8de2-15ab8a8f6a53.svg',
iconDark: NOT_SUPPORT,
iconSelected: NOT_SUPPORT,
iconDarkSelected: NOT_SUPPORT,
Expand Down
2 changes: 1 addition & 1 deletion src/constants/networks/linea.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const lineaInfo: EVMNetworkInfo = {
poolFarmRoute: 'linea',
aggregatorRoute: 'linea',
name: 'Linea',
icon: 'https://linea.build/apple-touch-icon.png',
icon: 'https://storage.googleapis.com/ks-setting-a3aa20b7/5c7ac975-e5af-4a02-8586-da6acfee9ec8.svg',
iconDark: NOT_SUPPORT,
iconSelected: NOT_SUPPORT,
iconDarkSelected: NOT_SUPPORT,
Expand Down
2 changes: 1 addition & 1 deletion src/constants/networks/matic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const maticInfo: EVMNetworkInfo = {
poolFarmRoute: 'polygon',
aggregatorRoute: 'polygon',
name: 'Polygon PoS',
icon: 'https://wallet.polygon.technology/assets/img/polygon-pos.svg',
icon: 'https://storage.googleapis.com/ks-setting-a3aa20b7/78dfb4fb-089b-431d-8725-b5de2cea0bfc.svg',
iconDark: NOT_SUPPORT,
iconSelected: NOT_SUPPORT,
iconDarkSelected: NOT_SUPPORT,
Expand Down
2 changes: 1 addition & 1 deletion src/constants/networks/zkevm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const zkEvm: EVMNetworkInfo = {
poolFarmRoute: 'polygon-zkevm',
aggregatorRoute: 'polygon-zkevm',
name: 'Polygon zkEVM',
icon: 'https://wallet.polygon.technology/assets/img/zkEVM.svg',
icon: 'https://storage.googleapis.com/ks-setting-a3aa20b7/013aecc7-9868-4b06-a056-7dd5997b4139.svg',
iconDark: NOT_SUPPORT,
iconSelected: NOT_SUPPORT,
iconDarkSelected: NOT_SUPPORT,
Expand Down
3 changes: 1 addition & 2 deletions src/constants/networks/zksync.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { ChainId } from '@kyberswap/ks-sdk-core'

import EthereumLogo from 'assets/images/ethereum-logo.png'
import zkSync from 'assets/networks/zksync-network.png'
import { KS_SETTING_API } from 'constants/env'
import { EVMNetworkInfo } from 'constants/networks/type'

Expand All @@ -19,7 +18,7 @@ const zkSyncInfo: EVMNetworkInfo = {
poolFarmRoute: 'zksync',
aggregatorRoute: 'zksync',
name: 'zkSync Era',
icon: zkSync,
icon: 'https://storage.googleapis.com/ks-setting-a3aa20b7/ad122023-76dd-4cdd-ad5a-7572726f004f.svg',
iconDark: NOT_SUPPORT,
iconSelected: NOT_SUPPORT,
iconDarkSelected: NOT_SUPPORT,
Expand Down
42 changes: 13 additions & 29 deletions src/pages/About/AboutKyberSwap/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,37 +30,24 @@ import Banner from 'components/Banner'
import { ButtonEmpty, ButtonLight } from 'components/Button'
import { FooterSocialLink } from 'components/Footer/Footer'
import {
Arbitrum,
Aurora,
AuroraFull,
Avalanche,
BestPrice,
Binance,
Bttc,
CircleFocus,
Clock,
Cronos,
CronosLogoFull,
Drop,
Enter,
Ethereum,
Fantom,
FantomLogoFull,
FarmIcon,
LineaFull,
LowestSlippage,
MoneyBagOutline,
Oasis,
OasisLogoFull,
OptimismLogo,
OptimismLogoFull,
Polygon,
PolygonLogoFull,
Velas,
VelasLogoFull,
} from 'components/Icons'
import AntiSnippingAttack from 'components/Icons/AntiSnippingAttack'
import ZkSync from 'components/Icons/ZkSync'
import ZkSyncFull from 'components/Icons/ZkSyncFull'
import Loader from 'components/Loader'
import { APP_PATHS } from 'constants/index'
Expand Down Expand Up @@ -510,22 +497,19 @@ function AboutKyberSwap() {
</Text>

<SupportedChain>
<Ethereum />
<Polygon />
<Binance />
<Avalanche />
<Fantom />
<Cronos />
<Arbitrum />
<Velas />
<Aurora />
<Oasis />
<Bttc />
<OptimismLogo />
{/* <Solana /> */}
<ZkSync />
<img src="https://linea.build/apple-touch-icon.png" width="36px" height="36px" alt="Linea" />
<img src="https://wallet.polygon.technology/assets/img/zkEVM.svg" width="36px" height="36px" alt="zkEVM" />
{MAINNET_NETWORKS.map(chain => (
<img
src={
isDarkMode && NETWORKS_INFO[chain].iconDark
? NETWORKS_INFO[chain].iconDark || NETWORKS_INFO[chain].icon
: NETWORKS_INFO[chain].icon
}
alt={NETWORKS_INFO[chain].name}
key={chain}
width="36px"
height="36px"
/>
))}
</SupportedChain>

<KyberSwapGeneralIntro />
Expand Down

0 comments on commit b2ac132

Please sign in to comment.