-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* In house components * replace connect wallet * update some progress buttons * home page table * Complete home page * renew page * dashboard almost complete * state cards * para dashboard complete * purchase page * sale history * transfer page & regions page progress * update main region modals * small improvements * transfer page * format and lint * ..
- Loading branch information
Showing
51 changed files
with
613 additions
and
1,305 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,23 @@ | ||
import { NetworkType } from '@/models'; | ||
|
||
import Kusama from './kusama.png'; | ||
import Polkadot from './polkadot.png'; | ||
import Rococo from './rococo.png'; | ||
import Westend from './westend.png'; | ||
|
||
export { Kusama, Polkadot, Rococo, Westend }; | ||
const getIcon = (network: NetworkType) => { | ||
switch (network) { | ||
case NetworkType.POLKADOT: | ||
return Polkadot; | ||
case NetworkType.KUSAMA: | ||
return Kusama; | ||
case NetworkType.ROCOCO: | ||
return Rococo; | ||
case NetworkType.WESTEND: | ||
return Westend; | ||
default: | ||
Polkadot; | ||
} | ||
}; | ||
|
||
export { getIcon, Kusama, Polkadot, Rococo, Westend }; |
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.