From e2057c838b3b4671ed70ba280e67beae2b9fb731 Mon Sep 17 00:00:00 2001 From: r8bywork Date: Fri, 31 May 2024 11:52:24 +0300 Subject: [PATCH 1/2] fix: text on staking && logo --- deploy/envs/common-frontend.env | 2 ++ ui/pages/Staking.tsx | 2 +- ui/staking/InfoBlock.tsx | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/deploy/envs/common-frontend.env b/deploy/envs/common-frontend.env index 6e30ee4e21..896b7ae75e 100644 --- a/deploy/envs/common-frontend.env +++ b/deploy/envs/common-frontend.env @@ -16,3 +16,5 @@ NEXT_PUBLIC_IS_TESTNET=true NEXT_PUBLIC_API_WEBSOCKET_PROTOCOL=wss NEXT_PUBLIC_NETWORK_RPC_URL=wss://testnet-rpc.atleta.network:9944 NEXT_PUBLIC_API_SPEC_URL=https://raw.githubusercontent.com/blockscout/blockscout-api-v2-swagger/main/swagger.yaml +NEXT_PUBLIC_NETWORK_LOGO=https://raw.githubusercontent.com/r8bywork/atleta-logo/main/ownlogo.svg +NEXT_PUBLIC_NETWORK_ICON=https://raw.githubusercontent.com/r8bywork/atleta-logo/main/ownlogo.svg diff --git a/ui/pages/Staking.tsx b/ui/pages/Staking.tsx index 1c657219fb..6a514db76c 100644 --- a/ui/pages/Staking.tsx +++ b/ui/pages/Staking.tsx @@ -40,7 +40,7 @@ const Staking = () => { }, { title: 'Inflation Rate to Stakers', - hint: `${ registry.symbol } has unlimited supply with ~10% annual inflation. Validator rewards depend on staked amounts.`, + hint: `${ registry.symbol } has 7.5B supply with ~10% annual inflation. Validator rewards depend on staked amounts.`, isLoading, value: `${ inflationRate }%`, }, diff --git a/ui/staking/InfoBlock.tsx b/ui/staking/InfoBlock.tsx index 87dca4fc99..4e8c2edd89 100644 --- a/ui/staking/InfoBlock.tsx +++ b/ui/staking/InfoBlock.tsx @@ -19,7 +19,7 @@ const InfoBlock = () => { description: `The total ${ registry.symbol } currently bonded in nomination pools.`, }, { - title: `${ info.totalStake.toFormat(0) } ${ registry.symbol } is currently being staked on Polkadot.`, + title: `${ info.totalStake.toFormat(0) } ${ registry.symbol } is currently being staked on Atleta.`, description: `The total ${ registry.symbol } currently being staked amongst all validators and nominators.`, }, From 5f5e20d6b8a6be6250c6b6b39f294de9cb7466db Mon Sep 17 00:00:00 2001 From: r8bywork Date: Fri, 31 May 2024 11:58:39 +0300 Subject: [PATCH 2/2] fix: logo --- deploy/envs/common-frontend.env | 4 ++-- icons/ownlogo.svg | 3 +++ public/icons/name.d.ts | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 icons/ownlogo.svg diff --git a/deploy/envs/common-frontend.env b/deploy/envs/common-frontend.env index 896b7ae75e..41e0c7c344 100644 --- a/deploy/envs/common-frontend.env +++ b/deploy/envs/common-frontend.env @@ -16,5 +16,5 @@ NEXT_PUBLIC_IS_TESTNET=true NEXT_PUBLIC_API_WEBSOCKET_PROTOCOL=wss NEXT_PUBLIC_NETWORK_RPC_URL=wss://testnet-rpc.atleta.network:9944 NEXT_PUBLIC_API_SPEC_URL=https://raw.githubusercontent.com/blockscout/blockscout-api-v2-swagger/main/swagger.yaml -NEXT_PUBLIC_NETWORK_LOGO=https://raw.githubusercontent.com/r8bywork/atleta-logo/main/ownlogo.svg -NEXT_PUBLIC_NETWORK_ICON=https://raw.githubusercontent.com/r8bywork/atleta-logo/main/ownlogo.svg +NEXT_PUBLIC_NETWORK_LOGO=https://raw.githubusercontent.com/Atleta-network/blockscout/main/icons/ownlogo.svg +NEXT_PUBLIC_NETWORK_ICON=https://raw.githubusercontent.com/Atleta-network/blockscout/main/icons/ownlogo.svg diff --git a/icons/ownlogo.svg b/icons/ownlogo.svg new file mode 100644 index 0000000000..dddc230fdc --- /dev/null +++ b/icons/ownlogo.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/icons/name.d.ts b/public/icons/name.d.ts index 065ee9ca70..80ccd69d45 100644 --- a/public/icons/name.d.ts +++ b/public/icons/name.d.ts @@ -70,6 +70,7 @@ | "networks/logo-placeholder" | "nft_shield" | "output_roots" + | "ownlogo" | "plus" | "privattags" | "profile"