From 56682dd4cf45ca668878e4218e60fcf760cfd442 Mon Sep 17 00:00:00 2001 From: Paul Noel Date: Thu, 8 Feb 2024 13:33:49 -0600 Subject: [PATCH] dashboard: add images --- dashboard/src/images/dymension2.svg | 142 ++++++++++++++++++++++++ dashboard/src/images/seda.svg | 76 +++++++++++++ dashboard/src/images/stargaze_white.svg | 1 + dashboard/src/utils/chainIdToName.ts | 3 + dashboard/src/utils/consts.ts | 6 + package-lock.json | 14 +-- package.json | 2 +- 7 files changed, 236 insertions(+), 8 deletions(-) create mode 100644 dashboard/src/images/dymension2.svg create mode 100644 dashboard/src/images/seda.svg create mode 100644 dashboard/src/images/stargaze_white.svg diff --git a/dashboard/src/images/dymension2.svg b/dashboard/src/images/dymension2.svg new file mode 100644 index 00000000..699f3684 --- /dev/null +++ b/dashboard/src/images/dymension2.svg @@ -0,0 +1,142 @@ + + + + + + + + + \ No newline at end of file diff --git a/dashboard/src/images/seda.svg b/dashboard/src/images/seda.svg new file mode 100644 index 00000000..2e39608d --- /dev/null +++ b/dashboard/src/images/seda.svg @@ -0,0 +1,76 @@ + + + + + + + \ No newline at end of file diff --git a/dashboard/src/images/stargaze_white.svg b/dashboard/src/images/stargaze_white.svg new file mode 100644 index 00000000..d09b925d --- /dev/null +++ b/dashboard/src/images/stargaze_white.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dashboard/src/utils/chainIdToName.ts b/dashboard/src/utils/chainIdToName.ts index da1020cd..87f5df7f 100644 --- a/dashboard/src/utils/chainIdToName.ts +++ b/dashboard/src/utils/chainIdToName.ts @@ -8,6 +8,9 @@ const chainIdToNameMap: { [chainId: string]: string } = { 4002: 'kujira', 4003: 'neutron', 4004: 'celestia', + 4005: 'stargaze', + 4006: 'seda', + 4007: 'dymension', }; const chainIdToName = (chainId: number) => chainIdToNameMap[chainId] || 'Unknown'; export default chainIdToName; diff --git a/dashboard/src/utils/consts.ts b/dashboard/src/utils/consts.ts index 811aef6b..e85a3bc1 100644 --- a/dashboard/src/utils/consts.ts +++ b/dashboard/src/utils/consts.ts @@ -9,6 +9,7 @@ import bscIcon from '../images/bsc.svg'; import celestiaIcon from '../images/celestia.svg'; import celoIcon from '../images/celo.svg'; import cosmoshubIcon from '../images/cosmoshub.svg'; +import dymensionIcon from '../images/dymension2.svg'; import ethIcon from '../images/eth.svg'; import evmosIcon from '../images/evmos.svg'; import fantomIcon from '../images/fantom.svg'; @@ -27,8 +28,10 @@ import osmosisIcon from '../images/osmosis.svg'; import polygonIcon from '../images/polygon.svg'; import pythnetIcon from '../images/pyth_logomark_white.svg'; import scrollIcon from '../images/scroll.svg'; +import sedaIcon from '../images/seda.svg'; import seiIcon from '../images/sei.svg'; import solanaIcon from '../images/solana.svg'; +import stargazeIcon from '../images/stargaze_white.svg'; import suiIcon from '../images/sui.svg'; import terraIcon from '../images/terra.svg'; import terra2Icon from '../images/terra2.svg'; @@ -76,6 +79,9 @@ export const CHAIN_ICON_MAP: { [key: string]: string } = { 4002: kujiraIcon, 4003: neutronIcon, 4004: celestiaIcon, + 4005: stargazeIcon, + 4006: sedaIcon, + 4007: dymensionIcon, 10002: ethIcon, 10003: arbitrumIcon, 10004: baseIcon, diff --git a/package-lock.json b/package-lock.json index c17f26a2..763079b5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,7 @@ "database" ], "dependencies": { - "@certusone/wormhole-sdk": "^0.10.8" + "@certusone/wormhole-sdk": "^0.10.10" }, "devDependencies": { "prettier": "^2.8.1", @@ -2155,9 +2155,9 @@ "license": "MIT" }, "node_modules/@certusone/wormhole-sdk": { - "version": "0.10.8", - "resolved": "https://registry.npmjs.org/@certusone/wormhole-sdk/-/wormhole-sdk-0.10.8.tgz", - "integrity": "sha512-W2rA8fMdkVFWvy93+51K+8Kv/bpjuFtxCYCQI4YkWe+g4zLkDXw+yYMVPPqc/chFLFNSutPMqUtXAg7+y8lowg==", + "version": "0.10.10", + "resolved": "https://registry.npmjs.org/@certusone/wormhole-sdk/-/wormhole-sdk-0.10.10.tgz", + "integrity": "sha512-2pYQ2/+cSfh/LVtOTXQDrTeZdXHgzq/hjkTevzW5+rEqITE54qUlnMhcVtSJQe+Yvgg3awrP2mIfDW3nvwPIPA==", "dependencies": { "@certusone/wormhole-sdk-proto-web": "0.0.7", "@certusone/wormhole-sdk-wasm": "^0.0.1", @@ -29099,9 +29099,9 @@ "version": "0.2.3" }, "@certusone/wormhole-sdk": { - "version": "0.10.8", - "resolved": "https://registry.npmjs.org/@certusone/wormhole-sdk/-/wormhole-sdk-0.10.8.tgz", - "integrity": "sha512-W2rA8fMdkVFWvy93+51K+8Kv/bpjuFtxCYCQI4YkWe+g4zLkDXw+yYMVPPqc/chFLFNSutPMqUtXAg7+y8lowg==", + "version": "0.10.10", + "resolved": "https://registry.npmjs.org/@certusone/wormhole-sdk/-/wormhole-sdk-0.10.10.tgz", + "integrity": "sha512-2pYQ2/+cSfh/LVtOTXQDrTeZdXHgzq/hjkTevzW5+rEqITE54qUlnMhcVtSJQe+Yvgg3awrP2mIfDW3nvwPIPA==", "requires": { "@certusone/wormhole-sdk-proto-web": "0.0.7", "@certusone/wormhole-sdk-wasm": "^0.0.1", diff --git a/package.json b/package.json index 70af5eba..8fae8e15 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "database" ], "dependencies": { - "@certusone/wormhole-sdk": "^0.10.8" + "@certusone/wormhole-sdk": "^0.10.10" }, "devDependencies": { "prettier": "^2.8.1",