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:
Kurdistan Tech Ministry committed 2026-01-07 13:05:27 +03:00
commit d21bfb1320
5867 files changed
+329019

No files matched your search

@@ -0,0 +1,28 @@
// Copyright 2017-2025 @pezkuwi/app-whitelist authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { HexString } from '@pezkuwi/util/types';
import React from 'react';
import Call from '@pezkuwi/app-preimages/Preimages/Call';
import Hash from '@pezkuwi/app-preimages/Preimages/Hash';
import { usePreimage } from '@pezkuwi/react-hooks';
interface Props {
className?: string;
value: HexString;
}
function Details ({ className, value }: Props): React.ReactElement<Props> {
const info = usePreimage(value);
return (
<tr className={ className }>
<Hash value={value} />
<Call value={info} />
</tr>
);
}
export default React.memo(Details);
@@ -0,0 +1,31 @@
// Copyright 2017-2025 @pezkuwi/app-whitelist authors & contributors
// SPDX-License-Identifier: Apache-2.0
import React from 'react';
import { CardSummary, SummaryBox } from '@pezkuwi/react-components';
import { formatNumber } from '@pezkuwi/util';
import { useTranslation } from '../translate.js';
interface Props {
className?: string;
hashes?: string[];
}
function Summary ({ className, hashes }: Props): React.ReactElement<Props> {
const { t } = useTranslation();
return (
<SummaryBox className={className}>
<CardSummary label={t('hashes')}>
{hashes === undefined
? <span className='--tmp'>99</span>
: formatNumber(hashes.length)
}
</CardSummary>
</SummaryBox>
);
}
export default React.memo(Summary);
@@ -0,0 +1,50 @@
// Copyright 2017-2025 @pezkuwi/app-whitelist authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { SubmittableExtrinsicFunction } from '@pezkuwi/api/types';
import React, { useRef } from 'react';
import { Table } from '@pezkuwi/react-components';
import { useTranslation } from '../translate.js';
import useHashes from '../useHashes.js';
import Details from './Details.js';
import Summary from './Summary.js';
interface Props {
className?: string;
defaultPropose?: SubmittableExtrinsicFunction<'promise'>;
filter?: (section: string, method?: string) => boolean;
}
function Hashes ({ className }: Props): React.ReactElement<Props> {
const { t } = useTranslation();
const hashes = useHashes();
const headerRef = useRef<([React.ReactNode?, string?, number?] | false)[]>([
[t('calls'), 'start'],
[undefined, 'all'],
[undefined, 'media--1300']
]);
return (
<div className={className}>
<Summary hashes={hashes} />
<Table
className={className}
empty={hashes && t('No call hashes found')}
header={headerRef.current}
>
{hashes?.map((h) => (
<Details
key={h}
value={h}
/>
))}
</Table>
</div>
);
}
export default React.memo(Hashes);