Skip to content

Commit

Permalink
chore: update meta title and og image for bridge (#11077)
Browse files Browse the repository at this point in the history
<!--
Before opening a pull request, please read the [contributing
guidelines](https://github.com/pancakeswap/pancake-frontend/blob/develop/CONTRIBUTING.md)
first
-->

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the `meta.ts` configuration by adding a new
route for the `bridge` and its associated metadata, including a title
and image.

### Detailed summary
- Added new route `'/bridge'` with:
  - `title`: t('Bridge')
  - `image`: `${ASSET_CDN}/web/og/bridge.png`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your
question}`

<!-- end pr-codex -->
  • Loading branch information
Chef-Yogi authored Dec 20, 2024
1 parent db0e663 commit 14f9c25
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/web/src/config/constants/meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const getPathList = memoize((t: ContextApi['t']): PathList => {
'/remove': { basePath: true, title: t('Remove Liquidity'), image: `${ASSET_CDN}/web/og/liquidity.jpg` },
'/liquidity': { title: t('Liquidity'), image: `${ASSET_CDN}/web/og/liquidity.jpg` },
'/find': { title: t('Import Pool') },
'/bridge': { title: t('Bridge'), image: `${ASSET_CDN}/web/og/bridge.png` },
'/competition': { title: t('Trading Battle') },
'/prediction': { title: t('Prediction'), image: `${ASSET_CDN}/web/og/prediction.jpg` },
'/prediction/leaderboard': { title: t('Leaderboard'), image: `${ASSET_CDN}/web/og/liquidity.jpg` },
Expand Down

0 comments on commit 14f9c25

Please sign in to comment.