From 7116bca1483e7f3bc6c7cba26c5ad9b9eeec8f39 Mon Sep 17 00:00:00 2001 From: Jaco Date: Mon, 31 May 2021 22:52:25 +0300 Subject: [PATCH] Westmint colors/logo (#5400) --- packages/apps-config/src/ui/colors.ts | 5 +++++ packages/apps-config/src/ui/logos/index.ts | 22 ++++++++++++++-------- 2 files changed, 19 insertions(+), 8 deletions(-) diff --git a/packages/apps-config/src/ui/colors.ts b/packages/apps-config/src/ui/colors.ts index a7b771bf78..6b61c8e2c2 100644 --- a/packages/apps-config/src/ui/colors.ts +++ b/packages/apps-config/src/ui/colors.ts @@ -215,6 +215,7 @@ export const chainColors: Record = [ ['Shadow', chainShadow], ['sherpax', chainChainx], ['Statemine', chainStatemine], + ['Statemine Test', chainStatemine], ['Statemint', nodeStatemint], ['Statemint Test', nodeStatemint], ['SubDAO PC1', chainSubDAO], @@ -230,6 +231,8 @@ export const chainColors: Record = [ ['VLN PC', chainVln], ['Web3games ', chainWeb3games], ['Westend', chainWestend], + ['Westmint', nodeStatemint], + ['Westmint Test', nodeStatemint], ['Westlake', chainWestlake], ['Zenlink PC1', chainZenlink], ['ZERO.IO', chainZero] @@ -281,6 +284,7 @@ export const nodeColors: Record = [ ['Riochain Staging', nodeRiochain], ['SORA', nodeSora], ['Stafi node', nodeStafi], + ['Statemine Collator', nodeStatemint], ['Statemint Collator', nodeStatemint], ['SubDAO Collator', nodeSubDAO], ['subsocial node', nodeSubsocial], @@ -291,6 +295,7 @@ export const nodeColors: Record = [ ['Unique Node', nodeUnique], ['Web3games', nodeWeb3games], ['Westlake', nodeWestlake], + ['Westmint Collator', nodeStatemint], ['Zeitgeist Node', nodeZeitgeist], ['Zeitgeist Collator', nodeZeitgeist], ['Zenlink Collator', nodeZenlink] diff --git a/packages/apps-config/src/ui/logos/index.ts b/packages/apps-config/src/ui/logos/index.ts index efd1629942..0ccdf4e019 100644 --- a/packages/apps-config/src/ui/logos/index.ts +++ b/packages/apps-config/src/ui/logos/index.ts @@ -90,7 +90,6 @@ import nodeShell from './nodes/shell.svg'; import nodeSora from './nodes/sora-substrate.svg'; import nodeStafi from './nodes/stafi.png'; import nodeStatemine from './nodes/statemine.svg'; -import nodeStatemint from './nodes/statemint-3.png'; import nodeSubDAO from './nodes/subdao.png'; import nodeSubsocial from './nodes/subsocial.svg'; import nodeSubstrate from './nodes/substrate-hexagon.svg'; @@ -173,8 +172,9 @@ export const chainLogos: Record = [ ['RioChain CC-1', nodeRiochain], ['RioChain Staging', nodeRiochain], ['Statemine', nodeStatemine], - ['Statemint', nodeStatemint], - ['Statemint Test', nodeStatemint], + ['Statemine Test', nodeStatemine], + ['Statemint', nodeStatemine], + ['Statemint Test', nodeStatemine], ['SubDAO PC1', nodeSubDAO], ['Subsocial', nodeSubsocial], ['Subsocial PC', nodeSubsocial], @@ -189,7 +189,9 @@ export const chainLogos: Record = [ ['VLN PC', nodeVln], ['Vln', nodeVln], ['Web3games', nodeWeb3games], - ['Westlake', nodeWestlake] + ['Westlake', nodeWestlake], + ['Westmint', nodeStatemine], + ['Westmint Test', nodeStatemine] ].reduce((logos, [chain, logo]): Record => ({ ...logos, [(chain as string).toLowerCase()]: logo @@ -286,7 +288,8 @@ export const nodeLogos: Record = [ ['SORA', nodeSora], ['Stafi Node', nodeStafi], ['Stafi', nodeStafi], - ['Statemint Collator', nodeStatemint], + ['Statemine Collator', nodeStatemine], + ['Statemint Collator', nodeStatemine], ['SubDAO Collator', nodeSubDAO], ['subsocial-node', nodeSubsocial], ['Subsocial Node', nodeSubsocial], @@ -306,6 +309,7 @@ export const nodeLogos: Record = [ ['VLN PC', nodeVln], ['Web3games', nodeWeb3games], ['Westlake', nodeWestlake], + ['Westmint Collator', nodeStatemine], ['Zenlink', nodeZenlink], ['Zenlink Collator', nodeZenlink], ['Zeitgeist Node', nodeZeitgeist], @@ -319,7 +323,8 @@ export const nodeLogos: Record = [ export const specLogos: Record = [ ['shell', nodeShell], ['statemine', nodeStatemine], - ['statemint', nodeStatemint] + ['statemint', nodeStatemine], + ['westmine', nodeStatemine] ].reduce((logos, [spec, logo]): Record => ({ ...logos, [(spec as string).toLowerCase().replace(/-/g, ' ')]: logo @@ -428,7 +433,7 @@ export const namedLogos: Record = { rococoPolkabtc: chainPolkaBTC, rococoPrism: nodePrism, rococoRobonomics: nodeRobonomics, - rococoStatemint: nodeStatemint, + rococoStatemint: nodeStatemine, rococoSubDAO: nodeSubDAO, rococoSubsocial: nodeSubsocial, rococoTick: chainRococoTick, @@ -446,7 +451,7 @@ export const namedLogos: Record = { 'sora-substrate': nodeSora, stafi: nodeStafi, statemine: nodeStatemine, - statemint: nodeStatemint, + statemint: nodeStatemine, subsocial: nodeSubsocial, substrate: nodeSubstrate, 'ternoa-chaos': nodeTernoa, @@ -457,6 +462,7 @@ export const namedLogos: Record = { web3games: nodeWeb3games, westend: nodePolkadot, westlake: nodeWestlake, + westmine: nodeStatemine, zeitgeist: nodeZeitgeist, zero: nodeZero };