From 21881078f65f00a69147d145c5f7646a8cd2d80b Mon Sep 17 00:00:00 2001 From: Tyrel Chambers Date: Fri, 24 Oct 2025 13:43:36 -0400 Subject: [PATCH 1/4] move all new components to overview (index mdx) page --- src/components/Cards/cards.module.css | 1 + .../MediaSection/MediaSection.astro | 7 +- src/components/PageContent/PageContent.astro | 160 ++++++-- .../QuickLinkCard/QuickLinkCard.astro | 3 +- .../QuickLinkCard/QuickLinkCard.module.css | 7 - src/components/TabGrid/TabGrid.module.css | 3 + src/components/TabGrid/TabGrid.tsx | 2 +- .../toolsUtilities.module.css | 2 +- src/config/sidebar.ts | 2 +- src/content.config.ts | 2 + src/content/ccip/index.mdx | 379 ++++++++++++++---- src/layouts/DocsV3Layout/DocsV3Layout.astro | 249 +----------- src/pages/index.astro | 1 - 13 files changed, 432 insertions(+), 386 deletions(-) diff --git a/src/components/Cards/cards.module.css b/src/components/Cards/cards.module.css index ac19502528d..ea602f47b0b 100644 --- a/src/components/Cards/cards.module.css +++ b/src/components/Cards/cards.module.css @@ -3,6 +3,7 @@ grid-template-columns: repeat(3, 1fr); border-left: 1px solid var(--border); border-top: 1px solid var(--border); + margin: 56px 0; } .cardsWrapper h6 { diff --git a/src/components/MediaSection/MediaSection.astro b/src/components/MediaSection/MediaSection.astro index 79fc38d8472..6189f9326e7 100644 --- a/src/components/MediaSection/MediaSection.astro +++ b/src/components/MediaSection/MediaSection.astro @@ -14,7 +14,12 @@ const { heading, description, image, video } = Astro.props
- {heading} + {heading} {description} diff --git a/src/components/PageContent/PageContent.astro b/src/components/PageContent/PageContent.astro index 104d4999267..34158048f3d 100644 --- a/src/components/PageContent/PageContent.astro +++ b/src/components/PageContent/PageContent.astro @@ -3,29 +3,31 @@ import { MarkdownHeading } from "astro" export type Props = { titleHeading: MarkdownHeading + disableDefaultStyles?: boolean + hideTitle?: boolean } -const { titleHeading } = Astro.props +const { titleHeading, disableDefaultStyles, hideTitle } = Astro.props --- -
-

{titleHeading.text}

+
+ {!hideTitle &&

{titleHeading.text}

}
From 3e87b9da4be0e82302517c3dabb2d176cfebd48c Mon Sep 17 00:00:00 2001 From: Tyrel Chambers Date: Fri, 24 Oct 2025 14:27:14 -0400 Subject: [PATCH 3/4] update example links to real links --- src/content/ccip/index.mdx | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/src/content/ccip/index.mdx b/src/content/ccip/index.mdx index fa93968995c..18dd315e64e 100644 --- a/src/content/ccip/index.mdx +++ b/src/content/ccip/index.mdx @@ -19,7 +19,6 @@ import QuickLinkCard from "@components/QuickLinkCard/QuickLinkCard.astro" import ToolsUtilitiesGrid from "@components/ToolsUtilitiesGrid/ToolsUtilitiesGrid.astro" import MediaSection from "@components/MediaSection/MediaSection.astro" import CardsWrapper from "@components/Cards/CardsWrapper.astro" -import { ICard } from "@components/Cards/types.ts" import { SvgEyeOptic, SvgTransactionRepeatRecurring, @@ -34,7 +33,7 @@ export const toolsAndUtilities = [ image: "/images/ccip-logo.svg", imageAlt: "CCIP API icon", label: "CCIP API", - link: "/ccip/api", + link: "/ccip/api-reference", description: "An API for message retrieval and lane latency information.", }, { @@ -116,62 +115,62 @@ export const exampleTutorials = [ { title: "Acquire Test Tokens", description: "Get test tokens in minutes; build and test cross-chain apps with zero friction.", - link: "/tutorials/acquire-test-tokens", + link: "/ccip/test-tokens", }, { title: "Transfer Tokens", description: "Unlock seamless token transfers from contracts; learn, code, and deploy.", - link: "/tutorials/transfer-tokens", + link: "/ccip/tutorials/evm/transfer-tokens-from-contract", }, { title: "Transfer Tokens with Data", description: "Go beyond basic transfers with logic-infused token movements in your EVM contracts.", - link: "/tutorials/transfer-tokens-data", + link: "/ccip/tutorials/evm/programmable-token-transfers", }, { title: "Using the Token Manager", description: "Effortlessly manage CCTs by tracking, importing and organizing tokens from your dashboard.", - link: "/tutorials/token-manager", + link: "/ccip/tutorials/evm/token-manager", }, { title: "Using the JS SDK", description: "Integrate CCIP in your frontend or backend effortlessly with JavaScript SDK.", - link: "/tutorials/js-sdk", + link: "/ccip/ccip-javascript-sdk", }, { title: "Check Message Status", description: "Retrieve real-time status of your offchain transaction from EVM.", - link: "/tutorials/check-message-status", + link: "/ccip/tutorials/evm/offchain/get-status-offchain", }, { title: "Transfer Tokens Between EOAs", description: "Send tokens offchain from an Externally Owned Account with clear steps.", - link: "/tutorials/transfer-tokens-eoa", + link: "/ccip/tutorials/evm/offchain/transfer-tokens-from-eoa", }, { title: "Using the CLI", description: "Use offchain tools from CCIP to simplify your Ethereum workflows.", - link: "/tutorials/cli", + link: "/ccip/tutorials/evm/offchain/ccip-tools", }, { title: "Deploy and Register a CCT", description: "Use RemixIDE to launch and configure tokens for cross-chain transfers on CCIP.", - link: "/tutorials/deploy-register-cct", + link: "/ccip/tutorials/evm/cross-chain-tokens/register-from-eoa-remix", }, { title: "Register CCT Burn & Mint EOA", description: "Implement burn-mint cross-chain token logic with CCIP using Hardhat or Foundry.", - link: "/tutorials/register-cct-burn-mint", + link: "/ccip/tutorials/evm/cross-chain-tokens/register-from-eoa-burn-mint-hardhat", }, { title: "Register CCT Lock & Mint EOA", description: "Implement a lock-mint token registration workflow with CCIP and Hardhat or Foundry.", - link: "/tutorials/register-cct-lock-mint", + link: "/ccip/tutorials/evm/cross-chain-tokens/register-from-eoa-lock-mint-hardhat", }, { title: "Set Token Pool Rate Limits", description: "Update rate limiter settings for your cross-chain tokens using Hardhat or Foundry.", - link: "/tutorials/token-pool-rate-limits", + link: "/ccip/tutorials/evm/cross-chain-tokens/update-rate-limiters-hardhat", }, ], }, @@ -181,12 +180,12 @@ export const exampleTutorials = [ { title: "Getting Started with Solana", description: "Learn the basics of building on Solana blockchain.", - link: "/tutorials/solana-getting-started", + link: "/ccip/tutorials/svm", }, { title: "Solana Token Transfers", description: "Transfer tokens on the Solana blockchain.", - link: "/tutorials/solana-transfers", + link: "/ccip/tutorials/svm/source/token-transfers", }, ], }, @@ -196,7 +195,7 @@ export const exampleTutorials = [ { title: "Getting Started with Aptos", description: "Start building on the Aptos blockchain.", - link: "/tutorials/aptos-getting-started", + link: "/ccip/tutorials/aptos", }, ], }, From de0dec96f9aca71b35cee49b4e5ad38d74b7ac24 Mon Sep 17 00:00:00 2001 From: Tyrel Chambers Date: Fri, 24 Oct 2025 15:49:34 -0400 Subject: [PATCH 4/4] fix linkchecker --- src/content/ccip/index.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/content/ccip/index.mdx b/src/content/ccip/index.mdx index 18dd315e64e..da23f249706 100644 --- a/src/content/ccip/index.mdx +++ b/src/content/ccip/index.mdx @@ -89,21 +89,21 @@ export const exampleResources = [ label: "Token Pool Types", description: "Explore the various token pool types supported by the Cross-Chain Token (CCT) standard with Chainlink Labs. Explore the various token pool types supported by the Cross-Chain Token (CCT) standard with Chainlink Labs...", - link: "/resources/token-pool-types", + link: "/", type: "article", }, { label: "Token Pool Types", description: "Explore the various token pool types supported by the Cross-Chain Token (CCT) standard with Chainlink Labs. Explore the various token pool types supported by the Cross-Chain Token (CCT) standard with Chainlink Labs...", - link: "/resources/token-pool-types", + link: "/", type: "article", }, { label: "Token Pool Types", description: "Explore the various token pool types supported by the Cross-Chain Token (CCT) standard with Chainlink Labs. Explore the various token pool types supported by the Cross-Chain Token (CCT) standard with Chainlink Labs...", - link: "/resources/token-pool-types", + link: "/", type: "article", }, ]