Skip to content

Commit 61f859b

Browse files
committed
DOC-1077 : Restructure CCT tutorials sidebar
1 parent 198f1fc commit 61f859b

19 files changed

+1425
-565
lines changed

package-lock.json

Lines changed: 845 additions & 478 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/config/sidebar.ts

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ import svmCcipV011Contents from "./sidebar/ccip/api-reference/svm/v0_1_1.json" w
1515
import chainlinkLocalV021Contents from "./sidebar/chainlink-local/api-reference/v0_2_1.json" with { type: "json" }
1616
import chainlinkLocalV022Contents from "./sidebar/chainlink-local/api-reference/v0_2_2.json" with { type: "json" }
1717
import chainlinkLocalV023Contents from "./sidebar/chainlink-local/api-reference/v0_2_3.json" with { type: "json" }
18+
import evmCcipCctTutorialsHardhatFoundryContents from "./sidebar/ccip/cct-tutorials/evm/hardhat-foundry.json" with { type: "json" }
19+
import evmCcipCctTutorialsRemixIDEContents from "./sidebar/ccip/cct-tutorials/evm/remix-ide.json" with { type: "json" }
1820

1921
/**
2022
* Represents a single item in the sidebar navigation.
@@ -1583,27 +1585,16 @@ export const SIDEBAR: Partial<Record<Sections, SectionEntry[]>> = {
15831585
url: "ccip/tutorials/evm/cross-chain-tokens",
15841586
children: [
15851587
{
1586-
title: "Deploy and Register Using Remix IDE",
1587-
url: "ccip/tutorials/evm/cross-chain-tokens/register-from-eoa-remix",
1588-
},
1589-
{
1590-
title: "Register from an EOA (Burn & Mint)",
1591-
url: "ccip/tutorials/evm/cross-chain-tokens/register-from-eoa-burn-mint-hardhat",
1592-
highlightAsCurrent: ["ccip/tutorials/evm/cross-chain-tokens/register-from-eoa-burn-mint-foundry"],
1593-
},
1594-
{
1595-
title: "Register from an EOA (Lock & Mint)",
1596-
url: "ccip/tutorials/evm/cross-chain-tokens/register-from-eoa-lock-mint-hardhat",
1597-
highlightAsCurrent: ["ccip/tutorials/evm/cross-chain-tokens/register-from-eoa-lock-mint-foundry"],
1598-
},
1599-
{
1600-
title: "Set Token Pool rate limits",
1601-
url: "ccip/tutorials/evm/cross-chain-tokens/update-rate-limiters-hardhat",
1602-
highlightAsCurrent: ["ccip/tutorials/evm/cross-chain-tokens/update-rate-limiters-foundry"],
1588+
title: "Using Remix IDE",
1589+
url: "ccip/tutorials/evm/cross-chain-tokens/remix-ide",
1590+
isCollapsible: true,
1591+
children: evmCcipCctTutorialsRemixIDEContents,
16031592
},
16041593
{
1605-
title: "Register from a Safe Smart Account (Burn & Mint)",
1606-
url: "ccip/tutorials/evm/cross-chain-tokens/register-from-safe-burn-mint-hardhat",
1594+
title: "Using Hardhat / Foundry",
1595+
url: "ccip/tutorials/evm/cross-chain-tokens/hardhat-foundry",
1596+
isCollapsible: true,
1597+
children: evmCcipCctTutorialsHardhatFoundryContents,
16071598
},
16081599
],
16091600
},
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
[
2+
{
3+
"title": "Register from an EOA (Burn & Mint)",
4+
"url": "ccip/tutorials/evm/cross-chain-tokens/hardhat-foundry/register-from-eoa-burn-mint-hardhat",
5+
"highlightAsCurrent": ["ccip/tutorials/evm/cross-chain-tokens/hardhat-foundry/register-from-eoa-burn-mint-foundry"]
6+
},
7+
{
8+
"title": "Register from an EOA (Lock & Mint)",
9+
"url": "ccip/tutorials/evm/cross-chain-tokens/hardhat-foundry/register-from-eoa-lock-mint-hardhat",
10+
"highlightAsCurrent": ["ccip/tutorials/evm/cross-chain-tokens/hardhat-foundry/register-from-eoa-lock-mint-foundry"]
11+
},
12+
{
13+
"title": "Set Token Pool rate limits",
14+
"url": "ccip/tutorials/evm/cross-chain-tokens/hardhat-foundry/update-rate-limiters-hardhat",
15+
"highlightAsCurrent": ["ccip/tutorials/evm/cross-chain-tokens/hardhat-foundry/update-rate-limiters-foundry"]
16+
},
17+
{
18+
"title": "Register from a Safe Smart Account (Burn & Mint)",
19+
"url": "ccip/tutorials/evm/cross-chain-tokens/hardhat-foundry/register-from-safe-burn-mint-hardhat"
20+
},
21+
{
22+
"title": "Configure Additional Networks",
23+
"url": "ccip/tutorials/evm/cross-chain-tokens/hardhat-foundry/configure-additional-networks"
24+
}
25+
]
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[
2+
{
3+
"title": "Deploy and Register from an EOA",
4+
"url": "ccip/tutorials/evm/cross-chain-tokens/remix-ide/register-from-eoa-remix"
5+
}
6+
]

0 commit comments

Comments
 (0)