From 18f348f118f04df6f8f81e5377c4b35ebdd86a2b Mon Sep 17 00:00:00 2001 From: ianthirdweb <152932566+ianthirdweb@users.noreply.github.com> Date: Wed, 13 Nov 2024 18:59:01 +0000 Subject: [PATCH] [Documentation] Feature: Add page for supported chains on insight (#5412) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Problem solved Short description of the bug fixed or feature added --- ## PR-Codex overview This PR introduces a new section in the sidebar for "Supported Chains" and adds a corresponding page with metadata and content in `page.mdx`. ### Detailed summary - Added a new entry for "Supported Chains" in the sidebar of `sidebar.tsx`. - Created metadata for the new page in `page.mdx` using `createMetadata`. - Added a title, description, and image metadata for the "Supported Chains" page. - Included introductory content and links in `page.mdx`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` --- apps/portal/src/app/insight/sidebar.tsx | 4 ++++ .../src/app/insight/supported-chains/page.mdx | 16 ++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 apps/portal/src/app/insight/supported-chains/page.mdx diff --git a/apps/portal/src/app/insight/sidebar.tsx b/apps/portal/src/app/insight/sidebar.tsx index 01e50273872..c3f6a9a76fd 100644 --- a/apps/portal/src/app/insight/sidebar.tsx +++ b/apps/portal/src/app/insight/sidebar.tsx @@ -13,6 +13,10 @@ export const sidebar: SideBar = { name: "Get Started", href: `${insightSlug}/get-started`, }, + { + name: "Supported Chains", + href: `${insightSlug}/supported-chains`, + }, { name: "Blueprints", href: `${insightSlug}/blueprints`, diff --git a/apps/portal/src/app/insight/supported-chains/page.mdx b/apps/portal/src/app/insight/supported-chains/page.mdx new file mode 100644 index 00000000000..16ff7f92722 --- /dev/null +++ b/apps/portal/src/app/insight/supported-chains/page.mdx @@ -0,0 +1,16 @@ +import { createMetadata } from "@doc"; + +export const metadata = createMetadata({ + title: "thirdweb Insight - Supported Chains", + description: "List of chains indexed by thirdweb Insight.", + image: { + title: "thirdweb Insight - Supported Chains", + icon: "insight", + }, +}); + +# Supported Chains + +[View all chains indexed via thirdweb Insight](https://thirdweb.com/chainlist?service=insight). + +If you’d like to suggest a chain for us to support, [contact us](https://thirdweb.com/contact-us).