From ed38e744c249ab80f3972ea60f6d82559dce4a58 Mon Sep 17 00:00:00 2001 From: devinxl Date: Thu, 30 May 2024 17:02:52 +0800 Subject: [PATCH] feat(dcellar-web-ui): replace the related links of bnb greenfield doc --- README.md | 6 +++--- apps/dcellar-web-ui/src/components/layout/Nav/index.tsx | 4 ++-- .../src/modules/pricing-calculator/components/FAQ.tsx | 4 ++-- .../modules/pricing-calculator/components/PricingCard.tsx | 2 +- .../src/modules/welcome/components/DeveloperTools.tsx | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 591c89f1..8042a193 100644 --- a/README.md +++ b/README.md @@ -138,12 +138,12 @@ If you use editor other than vscode, just make your app's directory as your work ## Documentation Links - [Greenfield Whitepaper](https://github.com/bnb-chain/greenfield-whitepaper) -- [Guide to BNB Greenfield](https://docs.bnbchain.org/greenfield-docs/docs/guide/home) +- [Guide to BNB Greenfield](https://docs.bnbchain.org/bnb-greenfield/) - [Guide to DCellar](https://docs.nodereal.io/docs/dcellar-get-started) - [Guide to Rush](https://rushjs.io/pages/intro/welcome/) - [Guide to Apollo](https://github.com/apolloconfig/apollo) -- [BNB Greenfield Release Notes](https://docs.bnbchain.org/greenfield-docs/docs/release-notes/releaseNotes/#greenfield-v023---testnet-maintenance-upgrade-reset) -- [BNB Greenfield RPC Endpoints](https://docs.bnbchain.org/greenfield-docs/docs/api/endpoints/) +- [BNB Greenfield Release Notes](https://docs.bnbchain.org/bnb-greenfield/release-notes/releaseNotes/) +- [BNB Greenfield RPC Endpoints](https://docs.bnbchain.org/bnb-greenfield/for-developers/network-endpoint/endpoints/?h=rpc) - [@bnb-chain/greenfield-js-sdk](https://docs.bnbchain.org/greenfield-js-sdk/) - [@node-real/uikit](https://node-real.github.io/uikit/#/guides) - [@node-real/wallketkit](https://node-real.github.io/walletkit/) diff --git a/apps/dcellar-web-ui/src/components/layout/Nav/index.tsx b/apps/dcellar-web-ui/src/components/layout/Nav/index.tsx index 37e96621..f52ccb2c 100644 --- a/apps/dcellar-web-ui/src/components/layout/Nav/index.tsx +++ b/apps/dcellar-web-ui/src/components/layout/Nav/index.tsx @@ -41,13 +41,13 @@ const MENU_ITEMS = [ const ASIDE = [ { - link: 'https://docs.bnbchain.org/greenfield-docs/', + link: 'https://docs.bnbchain.org/bnb-greenfield/', trackId: 'dc.main.nav.doc.click', icon: 'book', text: 'BNB Greenfield Docs', }, { - link: 'https://docs.bnbchain.org/greenfield-docs/docs/release-notes/releaseNotes/', + link: 'https://docs.bnbchain.org/bnb-greenfield/for-developers/network-endpoint/endpoints/?h=rpc', trackId: 'dc.main.nav.release_note.click', icon: 'doc', text: 'Release Notes', diff --git a/apps/dcellar-web-ui/src/modules/pricing-calculator/components/FAQ.tsx b/apps/dcellar-web-ui/src/modules/pricing-calculator/components/FAQ.tsx index 04b1ed27..5d301d0c 100644 --- a/apps/dcellar-web-ui/src/modules/pricing-calculator/components/FAQ.tsx +++ b/apps/dcellar-web-ui/src/modules/pricing-calculator/components/FAQ.tsx @@ -150,9 +150,9 @@ export const FAQ = ({ openKeys, toggleOpenKeys }: FAQProps) => { more about it, please refer to{' '} - https://docs.bnbchain.org/greenfield-docs/docs/guide/greenfield-blockchain/modules/billing-and-payment#storage-fee-price-and-adjustment + https://github.com/bnb-chain/greenfield/blob/master/docs/modules/billing-and-payment.md#storage-fee-price-and-adjustment . diff --git a/apps/dcellar-web-ui/src/modules/pricing-calculator/components/PricingCard.tsx b/apps/dcellar-web-ui/src/modules/pricing-calculator/components/PricingCard.tsx index 000cf336..734f96bc 100644 --- a/apps/dcellar-web-ui/src/modules/pricing-calculator/components/PricingCard.tsx +++ b/apps/dcellar-web-ui/src/modules/pricing-calculator/components/PricingCard.tsx @@ -104,7 +104,7 @@ export const PricingCard = ({ storeParams }: PricingCardProps) => { }} > Global prices will update monthly based on all the SPs' suggested prices.{' '} - + Learn More diff --git a/apps/dcellar-web-ui/src/modules/welcome/components/DeveloperTools.tsx b/apps/dcellar-web-ui/src/modules/welcome/components/DeveloperTools.tsx index 31704544..12911bab 100644 --- a/apps/dcellar-web-ui/src/modules/welcome/components/DeveloperTools.tsx +++ b/apps/dcellar-web-ui/src/modules/welcome/components/DeveloperTools.tsx @@ -34,7 +34,7 @@ const datas = [ icon: , iconBg: '#F5A861', name: 'BNB Greenfield Docs', - link: 'https://docs.bnbchain.org/greenfield-docs/docs/guide/home', + link: 'https://docs.bnbchain.org/bnb-greenfield/', gaClickName: 'dc_lp.homepage.tool.docs.click', }, {