From 431ed2ea7a16beb91e188a27b6e353860fbdf799 Mon Sep 17 00:00:00 2001 From: isabelle Date: Thu, 8 Feb 2024 16:47:30 -0500 Subject: [PATCH] add nav --- public/locales/en/translation.json | 1 + src/config/sidebar.ts | 4 ++++ .../guides/bridge-erc20-through-the-custom-gateway.mdx | 1 + .../docs/en/developers/guides/running-a-scroll-node.mdx | 3 +-- 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/public/locales/en/translation.json b/public/locales/en/translation.json index 9f5c24610..22cbefa46 100644 --- a/public/locales/en/translation.json +++ b/public/locales/en/translation.json @@ -96,6 +96,7 @@ "guides": "Guides", "contractDeploymentTutorial": "Contract Deployment Tutorial", "crossChainInteraction": "Scroll Messenger Cross-chain Interaction", + "runningNode": "Running a Scroll Node", "bridgingERC20TokenThroughCustomGateway": "Bridge an ERC20 through the Custom Gateway", "bridgingERC721NftThroughCustomGateway": "Bridging ERC721 NFT through Custom Gateway", "bridgingERC1155ThroughCustomGateway": "Bridging ERC1155 through Custom Gateway", diff --git a/src/config/sidebar.ts b/src/config/sidebar.ts index 87984c775..814f8eade 100644 --- a/src/config/sidebar.ts +++ b/src/config/sidebar.ts @@ -149,6 +149,10 @@ export const getSidebar = () => { title: t("sidebar.developers.bridgingERC20TokenThroughCustomGateway"), url: formatUrl("developers/guides/bridge-erc20-through-the-custom-gateway"), }, + { + title: t("sidebar.developers.runningNode"), + url: formatUrl("developers/guides/running-a-scroll-node"), + }, // { // title: t("sidebar.developers.bridgingERC721NftThroughCustomGateway"), // url: formatUrl("developers/guides/"), diff --git a/src/content/docs/en/developers/guides/bridge-erc20-through-the-custom-gateway.mdx b/src/content/docs/en/developers/guides/bridge-erc20-through-the-custom-gateway.mdx index 70a9b35f8..63775bd53 100644 --- a/src/content/docs/en/developers/guides/bridge-erc20-through-the-custom-gateway.mdx +++ b/src/content/docs/en/developers/guides/bridge-erc20-through-the-custom-gateway.mdx @@ -4,6 +4,7 @@ date: Last Modified title: "Bridge ERC20 through the Custom Gateway" lang: "en" permalink: "developers/guides/bridge-erc20-through-the-custom-gateway" +whatsnext: { "Running a Scroll Node": "/developers/guides/running-a-scroll-node" } excerpt: "This guide will walk through how to use Scroll's bridge for ERC20s that need custom functionality using the Custom Gateway." --- diff --git a/src/content/docs/en/developers/guides/running-a-scroll-node.mdx b/src/content/docs/en/developers/guides/running-a-scroll-node.mdx index 423a5631d..8fc5c1992 100644 --- a/src/content/docs/en/developers/guides/running-a-scroll-node.mdx +++ b/src/content/docs/en/developers/guides/running-a-scroll-node.mdx @@ -4,8 +4,7 @@ date: Last Modified title: "Running a Scroll L2geth Node" lang: "en" permalink: "developers/guides/running-a-scroll-node" -whatsnext: { "Bridge ERC20 through the Custom Gateway": "/developers/guides/bridge-erc20-through-the-custom-gateway" } #TODO: update this -excerpt: "In this example, we will launch a dummy smart contract on either Sepolia or Scroll Sepolia testnet and interact with it from the opposite chain." #TODO: update this +excerpt: "This guide contains instructions on how to to run your own node on the Scroll network." --- import Aside from "../../../../../components/Aside.astro"