Skip to content

Commit e63e6da

Browse files
committed
[DASH-642] Add opengraph image + meta for chainlist (#5771)
## Problem solved Short description of the bug fixed or feature added <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on updating the `metadata` object in the `page.tsx` file for the `ChainListPage` component, specifically modifying the `title` and `description` properties for improved clarity and consistency. ### Detailed summary - Added a new `title` variable with the value "Chainlist: RPCs, Block Explorers, Faucets". - Added a new `description` variable with the updated description text. - Updated the `metadata` object to use the new `title` and `description` variables. - Introduced an `openGraph` property in the `metadata` object that includes the new `title` and `description`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent bdb27e4 commit e63e6da

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed
13.3 KB
Loading

apps/dashboard/src/app/(dashboard)/(chain)/chainlist/page.tsx

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,17 @@ import { ChainListView } from "./components/client/view";
1111
import { AddYourChainButton } from "./components/server/add-chain-button";
1212
import { ChainsData, type SearchParams } from "./components/server/chain-table";
1313

14+
const title = "Chainlist: RPCs, Block Explorers, Faucets";
15+
const description =
16+
"A list of EVM networks with RPCs, smart contracts, block explorers & faucets. Deploy smart contracts to all EVM chains with thirdweb.";
17+
1418
export const metadata: Metadata = {
15-
title: "Chainlist: RPCs, Block Explorers, Faucets",
16-
description:
17-
"A list of EVM networks with RPCs, smart contracts, block explorers & faucets. Deploy smart contracts to all EVM chains with thirdweb.",
19+
title,
20+
description,
21+
openGraph: {
22+
title,
23+
description,
24+
},
1825
};
1926

2027
export default async function ChainListPage(props: {

0 commit comments

Comments
 (0)