Update Unit Network logo (Thanks to https://github.com/unit-network) (#5027)
* unit logo 1 * unit logo 2 Co-authored-by: paulhealy <paulhealy09@gmail.com>
This commit is contained in:
parent
50cc81f44c
commit
5a591d591f
@ -63,6 +63,7 @@ import ternoa from './ternoa';
|
||||
import trustbase from './trustbase';
|
||||
import uniarts from './uniarts';
|
||||
import unique from './unique';
|
||||
import unitv from './unitv';
|
||||
import vln from './vln';
|
||||
import zeitgeist from './zeitgeist';
|
||||
import zenlink from './zenlink';
|
||||
@ -145,6 +146,8 @@ const spec: Record<string, OverrideBundleDefinition> = {
|
||||
ternoa,
|
||||
trustbase,
|
||||
uniarts,
|
||||
'unit-node': unitv,
|
||||
'unit-parachain': unitv,
|
||||
zeitgeist: zeitgeist
|
||||
};
|
||||
|
||||
|
||||
23
packages/apps-config/src/api/spec/unitv.ts
Normal file
23
packages/apps-config/src/api/spec/unitv.ts
Normal file
@ -0,0 +1,23 @@
|
||||
// Copyright 2017-2021 @polkadot/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { OverrideBundleDefinition } from '@polkadot/types/types';
|
||||
|
||||
// structs need to be in order
|
||||
/* eslint-disable sort-keys */
|
||||
|
||||
const definitions: OverrideBundleDefinition = {
|
||||
types: [
|
||||
{
|
||||
// on all versions
|
||||
minmax: [0, undefined],
|
||||
types: {
|
||||
Address: 'AccountId',
|
||||
LookupSource: 'AccountId',
|
||||
RefCount: 'u8'
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
export default definitions;
|
||||
@ -290,6 +290,13 @@ export function createTesting (t: TFunction): LinkOption[] {
|
||||
providers: {
|
||||
MYBANK: 'wss://app.mybank.network/substrate'
|
||||
}
|
||||
},
|
||||
{
|
||||
info: 'unitv',
|
||||
text: t('rpc.unitv', 'Unit Network', { ns: 'apps-config' }),
|
||||
providers: {
|
||||
'Unit Network': 'wss://unitventures.io/'
|
||||
}
|
||||
}
|
||||
]);
|
||||
}
|
||||
|
||||
@ -318,6 +318,14 @@ export function createRococo (t: TFunction): LinkOption[] {
|
||||
providers: {
|
||||
Sunrock: 'wss://sunrock.kaki.dev'
|
||||
}
|
||||
},
|
||||
{
|
||||
info: 'rococoUnitv',
|
||||
paraId: 3,
|
||||
text: t('rpc.rococo.unitv', 'Unit Network', { ns: 'apps-config' }),
|
||||
providers: {
|
||||
'Unit Network': 'wss://unitp.io'
|
||||
}
|
||||
}
|
||||
]
|
||||
}]);
|
||||
|
||||
@ -58,7 +58,7 @@ const chainIdavoll = '#ff43ff';
|
||||
const chainSubDAO = 'linear-gradient(50deg, #F20092 0%, #FF4D5D 100%)';
|
||||
const chainSubsocial = '#b9018c';
|
||||
const chainTrustBase = '#ff43aa';
|
||||
|
||||
const chainUnitv = '#1452F0';
|
||||
// based on node name
|
||||
// alphabetical
|
||||
const nodeBitCountry = '#191a2e';
|
||||
@ -160,7 +160,8 @@ export const chainColors: Record<string, any> = [
|
||||
['Westend', chainWestend],
|
||||
['Zenlink PC1', chainZenlink],
|
||||
['ZERO.IO', chainZero],
|
||||
['PHOENIX', chainPhoenix]
|
||||
['PHOENIX', chainPhoenix],
|
||||
['UNIT', chainUnitv]
|
||||
].reduce((colors, [chain, color]): Record<string, any> => ({
|
||||
...colors,
|
||||
[chain.toLowerCase()]: color
|
||||
|
||||
@ -77,6 +77,7 @@ import nodeTernoa from './nodes/ternoa.svg';
|
||||
import nodeTrustBase from './nodes/trustbase.png';
|
||||
import nodeUniarts from './nodes/uniarts.png';
|
||||
import nodeUnique from './nodes/unique.svg';
|
||||
import nodeUnitv from './nodes/unitv.png';
|
||||
import nodeVln from './nodes/valiu.png';
|
||||
import nodeZeitgeist from './nodes/zeitgeist.png';
|
||||
import nodeZenlink from './nodes/zenlink.svg';
|
||||
@ -136,7 +137,8 @@ export const chainLogos: Record<string, unknown> = [
|
||||
['Unique', chainUnique],
|
||||
['Vln', nodeVln],
|
||||
['PHOENIX PC1', nodePhoenix],
|
||||
['mybank.network PC1', mybank]
|
||||
['mybank.network PC1', mybank],
|
||||
['Unit Network', nodeUnitv]
|
||||
].reduce((logos, [chain, logo]): Record<string, unknown> => ({
|
||||
...logos,
|
||||
[(chain as string).toLowerCase()]: logo
|
||||
@ -224,6 +226,8 @@ export const nodeLogos: Record<string, unknown> = [
|
||||
['Vln', nodeVln],
|
||||
['PHOENIX Node', nodePhoenix],
|
||||
['PHOENIX Collator', nodePhoenix],
|
||||
['Unit Node', nodeUnitv],
|
||||
['Unit Collator', nodeUnitv],
|
||||
['Zeitgeist Node', nodeZeitgeist],
|
||||
['Zeitgeist Collator', nodeZeitgeist],
|
||||
['mybank.network', mybank]
|
||||
@ -317,6 +321,7 @@ export const namedLogos: Record<string, unknown> = {
|
||||
rococoTrack: chainRococoTrack,
|
||||
rococoTrick: chainRococoTrick,
|
||||
rococoTrustBase: nodeTrustBase,
|
||||
rococoUnitv: nodeUnitv,
|
||||
rococoZenlink: nodeZenlink,
|
||||
sgc: nodeSgc,
|
||||
snakenet: chainSnakenet,
|
||||
@ -328,6 +333,7 @@ export const namedLogos: Record<string, unknown> = {
|
||||
'ternoa-chaos': nodeTernoa,
|
||||
uniarts: nodeUniarts,
|
||||
unique: nodeUnique,
|
||||
unitv: nodeUnitv,
|
||||
vln: nodeVln,
|
||||
westend: nodePolkadot,
|
||||
zeitgeist: nodeZeitgeist,
|
||||
|
||||
BIN
packages/apps-config/src/ui/logos/nodes/unitv.png
Normal file
BIN
packages/apps-config/src/ui/logos/nodes/unitv.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 124 KiB |
@ -98,6 +98,7 @@
|
||||
"rpc.rococo.track": "Track",
|
||||
"rpc.rococo.trick": "Trick",
|
||||
"rpc.rococo.trustbase": "TrustBase PC1",
|
||||
"rpc.rococo.unitv": "Unit Network",
|
||||
"rpc.rococo.zenlink": "Zenlink PC1",
|
||||
"rpc.sgc": "Sgc",
|
||||
"rpc.sora-substrate": "SORA-staging",
|
||||
@ -107,6 +108,7 @@
|
||||
"rpc.trustbase": "TrustBase",
|
||||
"rpc.turbulence": "Turbulence",
|
||||
"rpc.uniarts": "Uniarts",
|
||||
"rpc.unitv": "Unit Network",
|
||||
"rpc.unique": "Unique",
|
||||
"rpc.vln": "Valiu Liquidity Network",
|
||||
"rpc.westend": "Westend",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user