Skip to content

Commit

Permalink
chore: add new springboard submenu (#11004)
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 introduces a new feature called `Springboard` in the
localization and menu configuration, updates the `package.json` to use a
newer version of `pnpm`, and modifies the menu items to include a link
to the `Springboard` site.

### Detailed summary
- Added translation for `Springboard` in `translations.json`.
- Introduced a new menu item for `Springboard` in `config.ts` with a
link to `https://springboard.pancakeswap.finance`.
- Updated `package.json` to change `pnpm` version from `9.12.1` to
`9.14.4`.

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

<!-- end pr-codex -->
  • Loading branch information
chefjackson authored Dec 4, 2024
1 parent 36f8955 commit b7d4490
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions apps/web/src/components/Menu/config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,12 @@ const config: (
},
],
items: [
{
status: { text: t('New'), color: 'success' },
label: t('Springboard'),
href: 'https://springboard.pancakeswap.finance',
type: DropdownMenuItemType.EXTERNAL_LINK,
},
{
label: t('Prediction (BETA)'),
href: '/prediction',
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"apis/*",
"scripts"
],
"packageManager": "pnpm@9.12.1",
"packageManager": "pnpm@9.14.4",
"scripts": {
"preinstall": "npx only-allow pnpm",
"dev": "turbo run dev --filter=web... --concurrency=50",
Expand Down Expand Up @@ -75,7 +75,7 @@
},
"volta": {
"node": "20.17.0",
"pnpm": "9.12.1"
"pnpm": "9.14.4"
},
"dependencies": {
"ws": "^8.17.1",
Expand Down
1 change: 1 addition & 0 deletions packages/localization/src/config/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -3665,5 +3665,6 @@
"Disabled": "Disabled",
"Enable MEV Protect": "Enable MEV Protect",
"Add automatically on BNB Smart Chain:": "Add automatically on BNB Smart Chain:",
"Springboard": "Springboard",
"PancakeSwap MEV Guard": "PancakeSwap MEV Guard"
}

0 comments on commit b7d4490

Please sign in to comment.