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
9 changes: 8 additions & 1 deletion src/components/CCIP/Chain/Chain.astro
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,14 @@ const lanes = await getAllNetworkLanes({
const searchLanes = getSearchLanes({ environment })
---

<CcipLayout frontmatter={entry.data} {headings} environment={environment}>
<CcipLayout
frontmatter={{
title: `CCIP Supported Networks - ${network.name}`,
section: "ccip",
}}
{headings}
environment={environment}
>
<Drawer client:only="react" />
<ChainHero
chains={networks}
Expand Down
2 changes: 1 addition & 1 deletion src/components/CCIP/ChainHero/ChainHero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ function ChainHero({ chains, tokens, network, token, environment, lanes }: Chain
name: network?.name || token?.name || "Current",
url: network
? `/ccip/supported-networks/${environment}/chain/${network.chain}`
: `/ccip/supported-networks/${environment}/token/${token?.name}`,
: `/ccip/supported-networks/${environment}/token/${token?.symbol}`,
},
]}
/>
Expand Down
9 changes: 8 additions & 1 deletion src/components/CCIP/Token/Token.astro
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,14 @@ const lanes = getAllTokenLanes({
const searchLanes = getSearchLanes({ environment })
---

<CcipLayout frontmatter={entry.data} {headings} environment={environment}>
<CcipLayout
frontmatter={{
title: `CCIP Supported Tokens - ${token}`,
section: "ccip",
}}
{headings}
environment={environment}
>
<ChainHero
chains={networks}
tokens={allTokens}
Expand Down