Skip to content

Commit

Permalink
update links (#412)
Browse files Browse the repository at this point in the history
  • Loading branch information
hackfisher authored Apr 25, 2024
1 parent e8bfc12 commit 33061a9
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 80 deletions.
2 changes: 1 addition & 1 deletion src/components/BuildingWithMsgport/data.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export const title: string[] = ["Start building with", "Darwinia Msgport"];

export const link: string = "https://github.com/darwinia-network/msgport-demo"; // External link
export const link: string = "https://github.com/msgport/msgport-demo"; // External link

export const menu: { title: string; description: string; code: string; language: "solidity" | "javascript" }[] = [
{
Expand Down
21 changes: 3 additions & 18 deletions src/components/FooterLinks/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,12 @@ export const columns: { sections: Section[] }[] = [
{
sections: [
{
title: "Developers",
title: "Documentation",
links: [
{ text: "Documentation", href: "https://docs.darwinia.network/", isExternal: true },
{
text: "Use Cases",
href: "https://docs.darwinia.network/msgport/use-cases/overview/",
isExternal: true,
},
],
},
{
title: "Technology",
links: [
{
text: "Darwinia Msgport",
href: "https://docs.darwinia.network/msgport/overview/",
isExternal: true,
},
{
text: "Darwinia EVM+",
href: "https://docs.darwinia.network/evm/overview/",
text: "Msgport",
href: "https://docs.msgport.xyz/",
isExternal: true,
},
],
Expand Down
70 changes: 19 additions & 51 deletions src/components/Header/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,33 +15,18 @@ export const navigations: {
},
{
label: "Stake RING",
link: "https://docs.darwinia.network/evm/tutorial/staking/",
link: "https://docs.darwinia.network/build/getting-started/staking/",
isExternal: true,
},
{
label: "Run A Node",
link: "https://docs.darwinia.network/evm/tutorial/chain/run-collator-node/",
isExternal: true,
},
{
label: "Cross-Chain Order Clearing",
link: "https://docs.darwinia.network/msgport/use-cases/order-xclearing/",
isExternal: true,
{
label: "Apps",
link: "https://apps.darwinia.network/",
isExternal: true
},
{
label: "Cross-Chain Token Bridge",
link: "https://docs.darwinia.network/msgport/use-cases/xtoken/",
isExternal: true,
},
{
label: "Cross-Chain Abstract Account",
link: "https://docs.darwinia.network/msgport/use-cases/xdao/",
isExternal: true,
},
{
label: "Cross-Chain DAO Governance",
link: "https://docs.darwinia.network/msgport/use-cases/xdao/",
isExternal: true,
{
label: "Bridge",
link: "https://bridge.darwinia.network",
isExternal: true
},
],
},
Expand All @@ -54,45 +39,29 @@ export const navigations: {
link: "https://docs.darwinia.network/ring/",
isExternal: true,
},
{ label: "Darwinia Ecosystem DApps", link: "https://apps.darwinia.network/", isExternal: true },
{ label: "Darwinia News & Updates", link: "https://medium.com/darwinianetwork", isExternal: true },
{ label: "News & Updates", link: "https://medium.com/darwinianetwork", isExternal: true },
{
label: "Darwinia Roadmap",
label: "Roadmap",
link: "https://darwinia.notion.site/c700133dd5a04c2494ceab489c75c907?v=8ff88199019d4236a3b9a190f5e7b9d5",
isExternal: true,
},
{ label: "Darwinia Genepaper v4", link: "/Genepaper_v4.pdf", isExternal: true },
{ label: "Genepaper v4", link: "/Genepaper_v4.pdf", isExternal: true },
{ label: "Paper Resources", link: "/papers", isExternal: false },
{
label: "Glossary",
link: "https://docs.darwinia.network/msgport/glossary/",
isExternal: true,
},
{ label: "FAQ", link: "https://docs.darwinia.network/msgport/faq/", isExternal: true },
{ label: "FAQ", link: "https://docs.darwinia.network/learn/faq/", isExternal: true },
],
},
{
label: "Developers",
label: "Build",
sub: [
{ label: "Documentation", link: "https://docs.darwinia.network/", isExternal: true },
{ label: "Smart Contract", link: "https://docs.darwinia.network/build/smart-contract/interact-with-web3js/", isExternal: true },
{
label: "Use Cases",
link: "https://docs.darwinia.network/msgport/use-cases/overview/",
isExternal: true,
},
],
},
{
label: "Technology",
sub: [
{
label: "Darwinia Msgport",
link: "https://docs.darwinia.network/msgport/overview/",
label: "Msgport",
link: "https://docs.msgport.xyz/build/use-cases/overview/",
isExternal: true,
},
{
label: "Darwinia EVM+",
link: "https://docs.darwinia.network/evm/overview/",
label: "Run A Node",
link: "https://docs.darwinia.network/evm/tutorial/chain/run-collator-node/",
isExternal: true,
},
],
Expand Down Expand Up @@ -120,5 +89,4 @@ export const navigations: {
},
],
},
{ label: "Bridge", sub: [], link: "https://bridge.darwinia.network", isExternal: true },
];
18 changes: 9 additions & 9 deletions src/components/Resources/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@ import Card from "./Card";
const resources: { icon: string; title: string; description: string; detail: { link: string } }[] = [
{
icon: "/images/resources/darwinia-msgport-gitHub.png",
title: "Darwinia Msgport GitHub",
title: "GitHub",
description:
"An open-source repo providing interfaces and tools for blockchain interoperability and communication.",
detail: { link: "https://github.com/darwinia-network/darwinia-msgport" },
"Powering Your DApp’s Cross-Chain Capabilities",
detail: { link: "https://github.com/darwinia-network/darwinia" },
},
{
icon: "/images/resources/darwinia-messages-explorer.png",
title: "Darwinia Messages Explorer",
title: "Explorer",
description:
"It serves as a comprehensive platform for following transactions over the Darwinia Msgport, helping users and developers to manage and analyze cross-chain data more effectively.",
detail: { link: "https://msgscan.darwinia.network/" },
"Chain Explorer provided by Subscan",
detail: { link: "https://darwinia.subscan.io" },
},
{
icon: "/images/resources/technical-docs.png",
title: "Technical Docs",
description: "Start building your Cross-Chain DApp with Darwinia Msgport.",
detail: { link: "https://docs.darwinia.network/msgport/overview/" },
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//" },
},
{
icon: "/images/resources/developer-assistance.png",
Expand Down
2 changes: 1 addition & 1 deletion src/components/UseCase/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ contract MsglineMessager is Application, AccessController {
);
}
}`,
link: "https://docs.darwinia.network/msgport/user-cases/order-xclearing/",
link: "https://docs.msgport.xyz/build/use-cases/order-xclearing/",
description:
"By utilizing Darwinia Msgport, DApp developers can facilitate efficient cross-chain order clearing and management of assets, streamlining the process of clearing orders between different blockchain networks.",
language: "solidity",
Expand Down

0 comments on commit 33061a9

Please sign in to comment.