Skip to content

Commit

Permalink
[DASH-642] Add opengraph image + meta for chainlist (#5771)
Browse files Browse the repository at this point in the history
## 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 -->
  • Loading branch information
MananTank committed Dec 17, 2024
1 parent bdb27e4 commit e63e6da
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 10 additions & 3 deletions apps/dashboard/src/app/(dashboard)/(chain)/chainlist/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,17 @@ import { ChainListView } from "./components/client/view";
import { AddYourChainButton } from "./components/server/add-chain-button";
import { ChainsData, type SearchParams } from "./components/server/chain-table";

const title = "Chainlist: RPCs, Block Explorers, Faucets";
const description =
"A list of EVM networks with RPCs, smart contracts, block explorers & faucets. Deploy smart contracts to all EVM chains with thirdweb.";

export const metadata: Metadata = {
title: "Chainlist: RPCs, Block Explorers, Faucets",
description:
"A list of EVM networks with RPCs, smart contracts, block explorers & faucets. Deploy smart contracts to all EVM chains with thirdweb.",
title,
description,
openGraph: {
title,
description,
},
};

export default async function ChainListPage(props: {
Expand Down

0 comments on commit e63e6da

Please sign in to comment.