From a158bb83bed79a3202ebe2e10653b8e26cf11d66 Mon Sep 17 00:00:00 2001 From: XiaoYhun Date: Mon, 9 Oct 2023 22:40:37 +0700 Subject: [PATCH 1/2] fix networks icon missing in sharing image --- .../{arbitrum-network.svg => arbitrum.svg} | 49 +++++++----------- src/assets/networks/aurora-network.svg | 1 - src/assets/networks/aurora.svg | 9 ++++ src/assets/networks/avalanche.svg | 9 ++++ src/assets/networks/bnb.svg | 6 +++ src/assets/networks/cronos-dark.svg | 10 ++++ src/assets/networks/cronos-network-dark.svg | 4 -- src/assets/networks/cronos-network.svg | 4 -- src/assets/networks/cronos.svg | 10 ++++ src/assets/networks/ethereum.svg | 27 ++++++++++ src/assets/networks/fantom-network.png | Bin 677 -> 0 bytes src/assets/networks/fantom.svg | 13 +++++ src/assets/networks/mainnet-network.svg | 21 -------- .../networks/{oasis-network.svg => oasis.svg} | 0 .../{optimism-network.svg => optimism.svg} | 0 src/assets/networks/polygon.svg | 12 +++++ ...olana-network-dark.svg => solana-dark.svg} | 15 ++++-- .../{solana-network.svg => solana.svg} | 0 src/assets/networks/velas-network.png | Bin 388 -> 0 bytes src/constants/networks/arbitrum.ts | 4 +- src/constants/networks/aurora.ts | 4 +- src/constants/networks/avax.ts | 3 +- src/constants/networks/bnb.ts | 3 +- src/constants/networks/cronos.ts | 12 ++--- src/constants/networks/ethereum.ts | 4 +- src/constants/networks/fantom.ts | 3 +- "src/constants/networks/g\303\266rli.ts" | 4 +- src/constants/networks/matic.ts | 3 +- src/constants/networks/optimism.ts | 4 +- src/constants/networks/solana-devnet.ts | 8 +-- src/constants/networks/solana.ts | 8 +-- .../TokenAnalysisListShareContent.tsx | 2 +- 32 files changed, 160 insertions(+), 92 deletions(-) rename src/assets/networks/{arbitrum-network.svg => arbitrum.svg} (86%) delete mode 100644 src/assets/networks/aurora-network.svg create mode 100644 src/assets/networks/aurora.svg create mode 100644 src/assets/networks/avalanche.svg create mode 100644 src/assets/networks/bnb.svg create mode 100644 src/assets/networks/cronos-dark.svg delete mode 100644 src/assets/networks/cronos-network-dark.svg delete mode 100644 src/assets/networks/cronos-network.svg create mode 100644 src/assets/networks/cronos.svg create mode 100644 src/assets/networks/ethereum.svg delete mode 100644 src/assets/networks/fantom-network.png create mode 100644 src/assets/networks/fantom.svg delete mode 100644 src/assets/networks/mainnet-network.svg rename src/assets/networks/{oasis-network.svg => oasis.svg} (100%) rename src/assets/networks/{optimism-network.svg => optimism.svg} (100%) create mode 100644 src/assets/networks/polygon.svg rename src/assets/networks/{solana-network-dark.svg => solana-dark.svg} (91%) rename src/assets/networks/{solana-network.svg => solana.svg} (100%) delete mode 100644 src/assets/networks/velas-network.png diff --git a/src/assets/networks/arbitrum-network.svg b/src/assets/networks/arbitrum.svg similarity index 86% rename from src/assets/networks/arbitrum-network.svg rename to src/assets/networks/arbitrum.svg index b2e875833c..867fd0a5b8 100644 --- a/src/assets/networks/arbitrum-network.svg +++ b/src/assets/networks/arbitrum.svg @@ -1,29 +1,20 @@ - - - - - - - - - - + + + + + + + + diff --git a/src/assets/networks/aurora-network.svg b/src/assets/networks/aurora-network.svg deleted file mode 100644 index fe8413f21e..0000000000 --- a/src/assets/networks/aurora-network.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/assets/networks/aurora.svg b/src/assets/networks/aurora.svg new file mode 100644 index 0000000000..f83cda4d7b --- /dev/null +++ b/src/assets/networks/aurora.svg @@ -0,0 +1,9 @@ + + + diff --git a/src/assets/networks/avalanche.svg b/src/assets/networks/avalanche.svg new file mode 100644 index 0000000000..15b6d5dea4 --- /dev/null +++ b/src/assets/networks/avalanche.svg @@ -0,0 +1,9 @@ + + + + diff --git a/src/assets/networks/bnb.svg b/src/assets/networks/bnb.svg new file mode 100644 index 0000000000..6b387233b9 --- /dev/null +++ b/src/assets/networks/bnb.svg @@ -0,0 +1,6 @@ + + + diff --git a/src/assets/networks/cronos-dark.svg b/src/assets/networks/cronos-dark.svg new file mode 100644 index 0000000000..6998b1ebc9 --- /dev/null +++ b/src/assets/networks/cronos-dark.svg @@ -0,0 +1,10 @@ + + + + diff --git a/src/assets/networks/cronos-network-dark.svg b/src/assets/networks/cronos-network-dark.svg deleted file mode 100644 index 18d2a1eb88..0000000000 --- a/src/assets/networks/cronos-network-dark.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/assets/networks/cronos-network.svg b/src/assets/networks/cronos-network.svg deleted file mode 100644 index 703862e588..0000000000 --- a/src/assets/networks/cronos-network.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/assets/networks/cronos.svg b/src/assets/networks/cronos.svg new file mode 100644 index 0000000000..c5c7f4f085 --- /dev/null +++ b/src/assets/networks/cronos.svg @@ -0,0 +1,10 @@ + + + + diff --git a/src/assets/networks/ethereum.svg b/src/assets/networks/ethereum.svg new file mode 100644 index 0000000000..7356e36429 --- /dev/null +++ b/src/assets/networks/ethereum.svg @@ -0,0 +1,27 @@ + + + + + + + + + + + + + diff --git a/src/assets/networks/fantom-network.png b/src/assets/networks/fantom-network.png deleted file mode 100644 index acad341478a6284b42cf70d585bc3a450818ae4a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 677 zcmeAS@N?(olHy`uVBq!ia0vp^1|ZDA3?vioaBc-r0X`wFKw2X6zhvfri3~8x{4Y=d z<^lyXKnw^{01E=yJzM@ie)Ip>t^Yt^TJt}s|NqBt|5qOWzvB4+{DuG3i~qZ{{!f_k zf5*lDv-bVJ^7y~wbl=}VJNQe2{DK)8-YX>B7dXFv!ut6E0{zaPerYo>Fh2EkaSZV| zK6UEtZL17;Tm_>KoW7S?)y(wj|No~Ory4s+A9-8#@u2DKW!)1)e0qP_o|a-r`L5k} zmEE+R&uFXU;kTv*vG-Wlj}Wy9iMr`9pcm)!WiJCURM$kq+ni}TrJ zQ-oI6y}o3}c;j9MxBuO@m)J}7xPKRIxtg}YK*`U$V^3qrn&^uXf@?pU^`*?Xd6Zeo zeD?qT+bR#7>b2MB@b#S1xZNM3B&xt5=$!Wbg{Vs)=SDV@6{13W!j)Gk^_a0A(E9I` zR&$HdXhC$I%YjcJ5>0;Jm>QM|$uJZgldxwja0pp`mMiMD1S7j&XgJg2uEa0QEge%1 z?3`q2pr`xY*^77TS;k05wu<>tu?;Ohcvf&9P_brA2<3C&OgPaf>C1RU@*rcy+Z4Bzqvi?r$2iZe7FB)lfP`;%-CvRT43;W^>bP0 Hl+XkKGg~!J diff --git a/src/assets/networks/fantom.svg b/src/assets/networks/fantom.svg new file mode 100644 index 0000000000..6dff22874b --- /dev/null +++ b/src/assets/networks/fantom.svg @@ -0,0 +1,13 @@ + + + + + + + + diff --git a/src/assets/networks/mainnet-network.svg b/src/assets/networks/mainnet-network.svg deleted file mode 100644 index eff286f0bf..0000000000 --- a/src/assets/networks/mainnet-network.svg +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/networks/oasis-network.svg b/src/assets/networks/oasis.svg similarity index 100% rename from src/assets/networks/oasis-network.svg rename to src/assets/networks/oasis.svg diff --git a/src/assets/networks/optimism-network.svg b/src/assets/networks/optimism.svg similarity index 100% rename from src/assets/networks/optimism-network.svg rename to src/assets/networks/optimism.svg diff --git a/src/assets/networks/polygon.svg b/src/assets/networks/polygon.svg new file mode 100644 index 0000000000..a52e9fdb6d --- /dev/null +++ b/src/assets/networks/polygon.svg @@ -0,0 +1,12 @@ + + + + + + diff --git a/src/assets/networks/solana-network-dark.svg b/src/assets/networks/solana-dark.svg similarity index 91% rename from src/assets/networks/solana-network-dark.svg rename to src/assets/networks/solana-dark.svg index 0ba4073e5e..1acde6183e 100644 --- a/src/assets/networks/solana-network-dark.svg +++ b/src/assets/networks/solana-dark.svg @@ -1,10 +1,17 @@ + fill="url(#paint0_linear_174_4403)" + /> - + @@ -13,4 +20,4 @@ - \ No newline at end of file + diff --git a/src/assets/networks/solana-network.svg b/src/assets/networks/solana.svg similarity index 100% rename from src/assets/networks/solana-network.svg rename to src/assets/networks/solana.svg diff --git a/src/assets/networks/velas-network.png b/src/assets/networks/velas-network.png deleted file mode 100644 index 64299fd107e0222c92e8207a48070556d6c2395f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 388 zcmV-~0ek+5P)V~P0Oet$@Y}|>v1e!ZeA0P=-C>TAkT{)0L_|bH zL`394mu^*L6Ap`*O*kxCOmJwVnBdSTF~#8#A|fJt;IC~dITSyD)Uzb*E@7k@NdkdI-;jE}yZ?SSh~$>})73Gggf64V?*#rC5%y51k3E zOFzA0{|oZ9s>)|9H{dayjs(Date.now()).format('DD/MM/YYYY')} - + {mobileMode ? ( <> From f49ad353cba4985921c31daef4e1f2b3a64a0222 Mon Sep 17 00:00:00 2001 From: XiaoYhun Date: Tue, 10 Oct 2023 11:08:31 +0700 Subject: [PATCH 2/2] switch env --- .github/workflows/pr.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 0b9eaa7c9a..e621c974f4 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -114,7 +114,7 @@ jobs: VITE_TAG: ${{ needs.prepare.outputs.image_tag }} CURRENT_BRANCH: ${{ needs.prepare.outputs.current_branch }} NODE_OPTIONS: '--max_old_space_size=4096' - run: yarn build-prod + run: yarn build-dev - name: Docker build and push uses: docker/build-push-action@v2