From 157d952626aa81958d58ed364b70baf42fc77aa5 Mon Sep 17 00:00:00 2001 From: fisher Date: Thu, 25 Apr 2024 14:29:15 +0000 Subject: [PATCH 1/2] fix links --- src/components/FooterLinks/data.ts | 2 +- src/components/Header/data.ts | 2 +- src/components/Resources/index.tsx | 2 +- src/components/UseCase/data.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/FooterLinks/data.ts b/src/components/FooterLinks/data.ts index f7d126a0..9a50b40e 100644 --- a/src/components/FooterLinks/data.ts +++ b/src/components/FooterLinks/data.ts @@ -6,7 +6,7 @@ export const columns: { sections: Section[] }[] = [ { title: "Documentation", links: [ - { text: "Documentation", href: "https://docs.darwinia.network/", isExternal: true }, + { text: "Darwinia", href: "https://docs.darwinia.network/", isExternal: true }, { text: "Msgport", href: "https://docs.msgport.xyz/", diff --git a/src/components/Header/data.ts b/src/components/Header/data.ts index ee9e08d5..ed4fd939 100644 --- a/src/components/Header/data.ts +++ b/src/components/Header/data.ts @@ -61,7 +61,7 @@ export const navigations: { }, { label: "Run A Node", - link: "https://docs.darwinia.network/evm/tutorial/chain/run-collator-node/", + link: "https://docs.darwinia.network/build/chain/run-collator-node/", isExternal: true, }, ], diff --git a/src/components/Resources/index.tsx b/src/components/Resources/index.tsx index 7bbd28a4..0987dafd 100644 --- a/src/components/Resources/index.tsx +++ b/src/components/Resources/index.tsx @@ -19,7 +19,7 @@ const resources: { icon: string; title: string; description: string; detail: { l icon: "/images/resources/technical-docs.png", title: "Build Docs", description: "Start building your Cross-Chain DApp on Darwinia.", - detail: { link: "https://darwinia-docs-dev.vercel.app/build/smart-contract/interact-with-web3js//" }, + detail: { link: "https://docs.darwinia.network/build/smart-contract/interact-with-web3js/" }, }, { icon: "/images/resources/developer-assistance.png", diff --git a/src/components/UseCase/data.ts b/src/components/UseCase/data.ts index 44fa88a0..001caf89 100644 --- a/src/components/UseCase/data.ts +++ b/src/components/UseCase/data.ts @@ -44,7 +44,7 @@ contract ExampleXAccount { IMessagePort(port).send{value: msg.value}(toChainId, module, message, params); } }`, - link: "https://docs.darwinia.network/msgport/use-cases/xaccount/", + link: "https://docs.msgport.xyz/build/use-cases/xaccount/", description: "XAccount is a component within Darwinia Msgport, xAccount simplifies the user experience in executing cross-chain operations.", language: "solidity", From 9131f08f2c8ea393df609f8372a46c8e354ca43a Mon Sep 17 00:00:00 2001 From: fisher Date: Thu, 25 Apr 2024 14:35:44 +0000 Subject: [PATCH 2/2] add some doc links --- src/components/FooterLinks/data.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/components/FooterLinks/data.ts b/src/components/FooterLinks/data.ts index 9a50b40e..cd36891a 100644 --- a/src/components/FooterLinks/data.ts +++ b/src/components/FooterLinks/data.ts @@ -12,6 +12,16 @@ export const columns: { sections: Section[] }[] = [ href: "https://docs.msgport.xyz/", isExternal: true, }, + { + text: "Helix Bridge", + href: "https://docs.helixbridge.app/", + isExternal: true, + }, + { + text: "XToken", + href: "https://xtoken.box/docs.html", + isExternal: true, + }, ], }, ],