Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
12 changes: 8 additions & 4 deletions src/components/Aside.astro
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export type Props = {
title?: string
}

const { type = "note", title = type } = Astro.props as Props
const { type = "note", title } = Astro.props as Props

// SVG icon paths based on GitHub Octicons
const icons = {
Expand All @@ -26,9 +26,13 @@ const icons = {
</span>
</div>
<section class="asideContent">
<p class="title heading-100" aria-hidden="true">
{title}
</p>
{
title && (
<p class="title heading-100" aria-hidden="true">
{title}
</p>
)
}
<slot />
</section>
</aside>
Expand Down
4 changes: 4 additions & 0 deletions src/config/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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/"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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."
---

Expand Down
Loading