Skip to content

Commit

Permalink
chore: rename assets with CAIP : separator to windows-friendly - (#418)
Browse files Browse the repository at this point in the history
* chore: losslessly compress sample assets

* chore: rename assets with CAIP `:` separator to windows-friendly `-`

* chore: rename asset paths in code

* fix: zkSync asset naming
  • Loading branch information
bkrem authored Jan 18, 2024
1 parent 69145ca commit 3e866b3
Show file tree
Hide file tree
Showing 139 changed files with 86 additions and 328 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const CosmosChainData = {

export const CosmosMetadata: NamespaceMetadata = {
"cosmoshub-4": {
logo: "/assets/" + "cosmos:cosmoshub-4.png",
logo: "/assets/" + "cosmos-cosmoshub-4.png",
rgb: "27, 31, 53",
},
};
Expand Down
24 changes: 12 additions & 12 deletions advanced/dapps/react-dapp-v2-cosmos-provider/src/chains/eip155.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,55 +21,55 @@ export const EIP155Colors = {
export const EIP155Metadata: NamespaceMetadata = {
"1": {
name: "Ethereum",
logo: "/assets/" + "eip155:1.png",
logo: "/assets/" + "eip155-1.png",
rgb: EIP155Colors.ethereum,
},
"5": {
logo: "/assets/" + "eip155:5.png",
logo: "/assets/" + "eip155-5.png",
rgb: EIP155Colors.goerli,
},
"10": {
name: "Optimism",
logo: "/assets/" + "eip155:10.png",
logo: "/assets/" + "eip155-10.png",
rgb: EIP155Colors.optimism,
},
"42": {
logo: "/assets/" + "eip155:42.png",
logo: "/assets/" + "eip155-42.png",
rgb: EIP155Colors.ethereum,
},
"69": {
logo: "/assets/" + "eip155:69.png",
logo: "/assets/" + "eip155-69.png",
rgb: EIP155Colors.optimism,
},
"100": {
logo: "/assets/" + "eip155:100.png",
logo: "/assets/" + "eip155-100.png",
rgb: EIP155Colors.xdai,
},
"137": {
name: "Polygon",
logo: "/assets/" + "eip155:137.png",
logo: "/assets/" + "eip155-137.png",
rgb: EIP155Colors.polygon,
},
"80001": {
logo: "/assets/" + "eip155:80001.png",
logo: "/assets/" + "eip155-80001.png",
rgb: EIP155Colors.polygon,
},
"42161": {
name: "Arbitrum",
logo: "/assets/" + "eip155:42161.png",
logo: "/assets/" + "eip155-42161.png",
rgb: EIP155Colors.arbitrum,
},
"42220": {
name: "Celo",
logo: "/assets/" + "eip155:42220.png",
logo: "/assets/" + "eip155-42220.png",
rgb: EIP155Colors.celo,
},
"44787": {
logo: "/assets/" + "eip155:44787.png",
logo: "/assets/" + "eip155-44787.png",
rgb: EIP155Colors.celo,
},
"421611": {
logo: "/assets/" + "eip155:421611.png",
logo: "/assets/" + "eip155-421611.png",
rgb: EIP155Colors.arbitrum,
},
};
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
14 changes: 1 addition & 13 deletions advanced/dapps/react-dapp-v2-with-ethers/src/assets/erc20.svg
8 changes: 1 addition & 7 deletions advanced/dapps/react-dapp-v2-with-ethers/src/assets/eth.svg
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { NamespaceMetadata, ChainMetadata, ChainRequestRender } from "../helpers

export const CosmosMetadata: NamespaceMetadata = {
"cosmoshub-4": {
logo: "/assets/" + "cosmos:cosmoshub-4.png",
logo: "/assets/" + "cosmos-cosmoshub-4.png",
rgb: "27, 31, 53",
},
};
Expand Down
24 changes: 12 additions & 12 deletions advanced/dapps/react-dapp-v2-with-ethers/src/chains/eip155.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,55 +129,55 @@ export const EIP155ChainData = {
export const EIP155Metadata: NamespaceMetadata = {
"1": {
name: "Ethereum",
logo: "/assets/" + "eip155:1.png",
logo: "/assets/" + "eip155-1.png",
rgb: EIP155Colors.ethereum,
},
"5": {
logo: "/assets/" + "eip155:5.png",
logo: "/assets/" + "eip155-5.png",
rgb: EIP155Colors.goerli,
},
"10": {
name: "Optimism",
logo: "/assets/" + "eip155:10.png",
logo: "/assets/" + "eip155-10.png",
rgb: EIP155Colors.optimism,
},
"42": {
logo: "/assets/" + "eip155:42.png",
logo: "/assets/" + "eip155-42.png",
rgb: EIP155Colors.ethereum,
},
"69": {
logo: "/assets/" + "eip155:69.png",
logo: "/assets/" + "eip155-69.png",
rgb: EIP155Colors.optimism,
},
"100": {
logo: "/assets/" + "eip155:100.png",
logo: "/assets/" + "eip155-100.png",
rgb: EIP155Colors.xdai,
},
"137": {
name: "Polygon",
logo: "/assets/" + "eip155:137.png",
logo: "/assets/" + "eip155-137.png",
rgb: EIP155Colors.polygon,
},
"80001": {
logo: "/assets/" + "eip155:80001.png",
logo: "/assets/" + "eip155-80001.png",
rgb: EIP155Colors.polygon,
},
"42161": {
name: "Arbitrum",
logo: "/assets/" + "eip155:42161.png",
logo: "/assets/" + "eip155-42161.png",
rgb: EIP155Colors.arbitrum,
},
"42220": {
name: "Celo",
logo: "/assets/" + "eip155:42220.png",
logo: "/assets/" + "eip155-42220.png",
rgb: EIP155Colors.celo,
},
"44787": {
logo: "/assets/" + "eip155:44787.png",
logo: "/assets/" + "eip155-44787.png",
rgb: EIP155Colors.celo,
},
"421611": {
logo: "/assets/" + "eip155:421611.png",
logo: "/assets/" + "eip155-421611.png",
rgb: EIP155Colors.arbitrum,
},
};
Expand Down
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Loading

9 comments on commit 3e866b3

@vercel
Copy link

@vercel vercel bot commented on 3e866b3 Jan 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 3e866b3 Jan 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 3e866b3 Jan 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

react-auth-dapp – ./advanced/dapps/react-dapp-auth

react-auth-dapp-git-main-walletconnect1.vercel.app
react-auth-dapp-walletconnect1.vercel.app
react-auth-dapp.walletconnect.com
react-auth-dapp.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 3e866b3 Jan 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

react-auth-wallet – ./advanced/wallets/react-wallet-auth

react-auth-wallet-walletconnect1.vercel.app
react-auth-wallet-git-main-walletconnect1.vercel.app
react-auth-wallet.walletconnect.com
react-auth-wallet.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 3e866b3 Jan 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

react-dapp-v2-with-web3js – ./advanced/dapps/react-dapp-v2-with-web3js

react-dapp-v2-with-web3js-git-main-walletconnect1.vercel.app
react-dapp-v2-with-web3js.vercel.app
react-dapp-v2-with-web3js-walletconnect1.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 3e866b3 Jan 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

react-dapp-v2-cosmos-provider – ./advanced/dapps/react-dapp-v2-cosmos-provider

react-dapp-v2-cosmos-provider.vercel.app
react-dapp-v2-cosmos-provider-git-main-walletconnect1.vercel.app
react-dapp-v2-cosmos-provider-walletconnect1.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 3e866b3 Jan 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 3e866b3 Jan 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

react-dapp-v2-with-ethers – ./advanced/dapps/react-dapp-v2-with-ethers

react-dapp-v2-with-ethers-git-main-walletconnect1.vercel.app
react-dapp-v2-with-ethers-walletconnect1.vercel.app
react-dapp-v2-with-ethers.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 3e866b3 Jan 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

vue-dapp-auth – ./advanced/dapps/vue-dapp-auth

vue-dapp-auth-walletconnect1.vercel.app
vue-dapp-auth.vercel.app
vue-dapp-auth-git-main-walletconnect1.vercel.app

Please sign in to comment.