From cfd46b5c9ff9cee8660e445d6201e1817b238136 Mon Sep 17 00:00:00 2001 From: noah-ren Date: Fri, 16 Sep 2022 14:40:47 +1000 Subject: [PATCH 1/2] feat: add icons for community fund tokens CVX, WBTC and WETH --- src/views/Catalog.tsx | 3 +++ src/views/tokenIcon/TokenIcon.tsx | 6 ++++++ src/views/tokenIcon/icons/white/cvx.svg | 10 ++++++++++ src/views/tokenIcon/icons/white/wbtc.svg | 3 +++ src/views/tokenIcon/icons/white/weth.svg | 10 ++++++++++ 5 files changed, 32 insertions(+) create mode 100644 src/views/tokenIcon/icons/white/cvx.svg create mode 100644 src/views/tokenIcon/icons/white/wbtc.svg create mode 100644 src/views/tokenIcon/icons/white/weth.svg diff --git a/src/views/Catalog.tsx b/src/views/Catalog.tsx index dc897957..91b8f812 100644 --- a/src/views/Catalog.tsx +++ b/src/views/Catalog.tsx @@ -157,6 +157,7 @@ export const Catalog = () => { + @@ -177,6 +178,8 @@ export const Catalog = () => { + + diff --git a/src/views/tokenIcon/TokenIcon.tsx b/src/views/tokenIcon/TokenIcon.tsx index d9ad13bd..320897a7 100644 --- a/src/views/tokenIcon/TokenIcon.tsx +++ b/src/views/tokenIcon/TokenIcon.tsx @@ -30,6 +30,7 @@ import { ReactComponent as WhiteBNB } from "./icons/white/bnb.svg"; import { ReactComponent as WhiteBTC } from "./icons/white/btc.svg"; import { ReactComponent as WhiteBUSD } from "./icons/white/busd.svg"; import { ReactComponent as WhiteCRV } from "./icons/white/crv.svg"; +import { ReactComponent as WhiteCVX } from "./icons/white/cvx.svg"; import { ReactComponent as WhiteDAI } from "./icons/white/dai.svg"; import { ReactComponent as WhiteDGB } from "./icons/white/dgb.svg"; import { ReactComponent as WhiteDOGE } from "./icons/white/doge.svg"; @@ -49,6 +50,8 @@ import { ReactComponent as WhiteSUSHI } from "./icons/white/sushi.svg"; import { ReactComponent as WhiteUNI } from "./icons/white/uni.svg"; import { ReactComponent as WhiteUSDC } from "./icons/white/usdc.svg"; import { ReactComponent as WhiteUSDT } from "./icons/white/usdt.svg"; +import { ReactComponent as WhiteWBTC } from "./icons/white/wbtc.svg"; +import { ReactComponent as WhiteWETH } from "./icons/white/weth.svg"; import { ReactComponent as WhiteZEC } from "./icons/white/zec.svg"; const icons = { @@ -80,6 +83,7 @@ const icons = { BTC: WhiteBTC, BUSD: WhiteBUSD, CRV: WhiteCRV, + CVX: WhiteCVX, DAI: WhiteDAI, DGB: WhiteDGB, DOGE: WhiteDOGE, @@ -100,6 +104,8 @@ const icons = { UNI: WhiteUNI, USDC: WhiteUSDC, USDT: WhiteUSDT, + WBTC: WhiteWBTC, + WETH: WhiteWETH, ZEC: WhiteZEC, }, }; diff --git a/src/views/tokenIcon/icons/white/cvx.svg b/src/views/tokenIcon/icons/white/cvx.svg new file mode 100644 index 00000000..7deb6f01 --- /dev/null +++ b/src/views/tokenIcon/icons/white/cvx.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/src/views/tokenIcon/icons/white/wbtc.svg b/src/views/tokenIcon/icons/white/wbtc.svg new file mode 100644 index 00000000..8e12beea --- /dev/null +++ b/src/views/tokenIcon/icons/white/wbtc.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/views/tokenIcon/icons/white/weth.svg b/src/views/tokenIcon/icons/white/weth.svg new file mode 100644 index 00000000..bb0873e8 --- /dev/null +++ b/src/views/tokenIcon/icons/white/weth.svg @@ -0,0 +1,10 @@ + + + + + + + + + + From 5cdce45c65e831a11ad6da36301a04d996f30e08 Mon Sep 17 00:00:00 2001 From: noah-ren Date: Fri, 16 Sep 2022 14:56:17 +1000 Subject: [PATCH 2/2] fix: update weth logo --- src/views/tokenIcon/icons/white/weth.svg | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/views/tokenIcon/icons/white/weth.svg b/src/views/tokenIcon/icons/white/weth.svg index bb0873e8..ff19496b 100644 --- a/src/views/tokenIcon/icons/white/weth.svg +++ b/src/views/tokenIcon/icons/white/weth.svg @@ -2,9 +2,6 @@ - - - - - + +