mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-04-29 02:27:56 +00:00
feat: initial Pezkuwi Apps rebrand from polkadot-apps
Rebranded terminology: - Polkadot → Pezkuwi - Kusama → Dicle - Westend → Zagros - Rococo → PezkuwiChain - Substrate → Bizinikiwi - parachain → teyrchain Custom logos with Kurdistan brand colors (#e6007a → #86e62a): - bizinikiwi-hexagon.svg - sora-bizinikiwi.svg - hezscanner.svg - heztreasury.svg - pezkuwiscan.svg - pezkuwistats.svg - pezkuwiassembly.svg - pezkuwiholic.svg
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
// Copyright 2017-2025 @pezkuwi/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Browser, Extension, Known } from './types.js';
|
||||
|
||||
import { PezkuwiJs } from './pezkuwi-js.js';
|
||||
|
||||
// The list of known extensions including the links to tem on the store. This is
|
||||
// used when no extensions are actually available, promoting the user to install
|
||||
// one or more (Any known extension can and should be added here)
|
||||
|
||||
export const knownExtensions: Record<string, Known> = {
|
||||
'pezkuwi-js': PezkuwiJs
|
||||
};
|
||||
|
||||
export const availableExtensions = Object
|
||||
.values(knownExtensions)
|
||||
.reduce((available: Record<Browser, Extension[]>, { all, desc, name }) => {
|
||||
Object.entries(all).forEach(([browser, link]): void => {
|
||||
available[browser as Browser].push({ desc, link, name });
|
||||
});
|
||||
|
||||
return available;
|
||||
}, { chrome: [], firefox: [] });
|
||||
@@ -0,0 +1,21 @@
|
||||
// Copyright 2017-2025 @pezkuwi/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Known } from './types.js';
|
||||
|
||||
import { extensionsPezkuwiJsSVG } from '../ui/logos/extensions/index.js';
|
||||
import { externalEmptySVG } from '../ui/logos/external/index.js';
|
||||
|
||||
export const PezkuwiJs: Known = {
|
||||
all: {
|
||||
chrome: 'https://chrome.google.com/webstore/detail/pezkuwi%7Bjs%7D-extension/mopnmbcafieddcagagdcbnhejhlodfdd',
|
||||
firefox: 'https://addons.mozilla.org/en-US/firefox/addon/pezkuwi-js-extension/'
|
||||
},
|
||||
desc: 'Basic account injection and signer',
|
||||
name: 'pezkuwi-js extension',
|
||||
ui: {
|
||||
// Don't copy this line as-is :) The '|| empty' here is just there for a build
|
||||
// check, aka it actually has no effect (the first part is always defined)
|
||||
logo: extensionsPezkuwiJsSVG || externalEmptySVG
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,17 @@
|
||||
// Copyright 2017-2025 @pezkuwi/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export type Browser = 'chrome' | 'firefox';
|
||||
|
||||
export interface Extension {
|
||||
desc: string;
|
||||
link: string;
|
||||
name: string;
|
||||
}
|
||||
|
||||
export interface Known {
|
||||
all: Record<Browser, string>;
|
||||
desc: string;
|
||||
name: string;
|
||||
ui: { logo: string; }
|
||||
}
|
||||
Reference in New Issue
Block a user