Skip to content

Commit

Permalink
Fix links (#410)
Browse files Browse the repository at this point in the history
* fix links

* update link in header
  • Loading branch information
hackfisher authored Apr 16, 2024
1 parent 03115f7 commit 89ed3a1
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 15 deletions.
6 changes: 3 additions & 3 deletions src/components/FooterLinks/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const columns: { sections: Section[] }[] = [
{ text: "Documentation", href: "https://docs.darwinia.network/", isExternal: true },
{
text: "Use Cases",
href: "https://docs.darwinia.network/msgport/user-cases/overview/",
href: "https://docs.darwinia.network/msgport/use-cases/overview/",
isExternal: true,
},
],
Expand All @@ -18,8 +18,8 @@ export const columns: { sections: Section[] }[] = [
title: "Technology",
links: [
{
text: "Messaging Protocols",
href: "https://docs.darwinia.network/msgport/messaging-protocols/overview/",
text: "Darwinia Msgport",
href: "https://docs.darwinia.network/msgport/overview/",
isExternal: true,
},
{
Expand Down
22 changes: 16 additions & 6 deletions src/components/Header/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,23 @@ export const navigations: {
isExternal: true,
},
{
label: "Cross-Chain Asset Bridge",
link: "https://docs.darwinia.network/msgport/user-cases/token-bridge/",
label: "Cross-Chain Order Clearing",
link: "https://docs.darwinia.network/msgport/use-cases/order-xclearing/",
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/user-cases/multichain-dao-governance/",
link: "https://docs.darwinia.network/msgport/use-cases/xdao/",
isExternal: true,
},
],
Expand Down Expand Up @@ -67,7 +77,7 @@ export const navigations: {
{ label: "Documentation", link: "https://docs.darwinia.network/", isExternal: true },
{
label: "Use Cases",
link: "https://docs.darwinia.network/msgport/user-cases/overview/",
link: "https://docs.darwinia.network/msgport/use-cases/overview/",
isExternal: true,
},
],
Expand All @@ -76,8 +86,8 @@ export const navigations: {
label: "Technology",
sub: [
{
label: "Messaging Protocols",
link: "https://docs.darwinia.network/msgport/messaging-protocols/overview/",
label: "Messaging Msgport",
link: "https://docs.darwinia.network/msgport/overview/",
isExternal: true,
},
{
Expand Down
12 changes: 6 additions & 6 deletions src/components/UseCase/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const cases: {
language: "solidity" | "javascript";
}[] = [
{
title: "xAccount",
title: "XAccount",
code: `/// @dev ExampleXAccount is a demonstration showcasing the utilization of xAccount to execute an xCall.
contract ExampleXAccount {
// XAccountFactory address
Expand Down Expand Up @@ -44,13 +44,13 @@ contract ExampleXAccount {
IMessagePort(port).send{value: msg.value}(toChainId, module, message, params);
}
}`,
link: "https://docs.darwinia.network/msgport/user-cases/abstract-account/",
link: "https://docs.darwinia.network/msgport/use-cases/xaccount/",
description:
"xAccount is a component within Darwinia Msgport, xAccount simplifies the user experience in executing cross-chain operations.",
"XAccount is a component within Darwinia Msgport, xAccount simplifies the user experience in executing cross-chain operations.",
language: "solidity",
},
{
title: "Asset Bridge",
title: "Order Clearing(Thirdparty bridge)",
code: `// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
interface ILnDefaultBridgeSource {
Expand Down Expand Up @@ -180,9 +180,9 @@ contract MsglineMessager is Application, AccessController {
);
}
}`,
link: "https://docs.darwinia.network/msgport/user-cases/token-bridge/",
link: "https://docs.darwinia.network/msgport/user-cases/order-xclearing/",
description:
"By utilizing Darwinia Msgport, DApp developers can facilitate efficient cross-chain transfer and management of assets, streamlining the process of moving assets between different blockchain networks.",
"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",
},
];

0 comments on commit 89ed3a1

Please sign in to comment.