Skip to content

Commit

Permalink
dashboard: add images
Browse files Browse the repository at this point in the history
  • Loading branch information
panoel committed Feb 8, 2024
1 parent a2a3a1f commit 56682dd
Show file tree
Hide file tree
Showing 7 changed files with 236 additions and 8 deletions.
142 changes: 142 additions & 0 deletions dashboard/src/images/dymension2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
76 changes: 76 additions & 0 deletions dashboard/src/images/seda.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions dashboard/src/images/stargaze_white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions dashboard/src/utils/chainIdToName.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
6 changes: 6 additions & 0 deletions dashboard/src/utils/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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';
Expand Down Expand Up @@ -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,
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"database"
],
"dependencies": {
"@certusone/wormhole-sdk": "^0.10.8"
"@certusone/wormhole-sdk": "^0.10.10"
},
"devDependencies": {
"prettier": "^2.8.1",
Expand Down

0 comments on commit 56682dd

Please sign in to comment.