Skip to content

Commit

Permalink
chore: update live tag in menu (#11143)
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 updates the status of an item in the `Menu` component and
modifies localization translations.

### Detailed summary
- In `apps/web/src/components/Menu/config/config.ts`, changed the
`status` text from `SOON` to `NEW` with a corresponding color change
from `warning` to `success`.
- In `packages/localization/src/config/translations.json`, added a new
translation for `NEW` and removed the `SOON` entry.

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

<!-- end pr-codex -->
  • Loading branch information
chef-ryan authored Jan 16, 2025
1 parent 36ecf61 commit 6110fae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/web/src/components/Menu/config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ const config: (
label: t('IFO'),
href: '/ifo',
image: '/images/ifos/ifo-bunny.png',
status: { text: t('SOON'), color: 'warning' },
status: { text: t('NEW'), color: 'success' },
overrideSubNavItems: [
{
label: t('Latest'),
Expand Down
4 changes: 2 additions & 2 deletions packages/localization/src/config/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -3683,9 +3683,9 @@
"The time has already passed.": "The time has already passed.",
"day(s)": "day(s)",
"hour(s)": "hour(s)",
"SOON": "SOON",
"Public IFO": "Public IFO",
"Private IFO": "Private IFO",
"Unlimited IFO": "Unlimited IFO",
"Basic IFO": "Basic IFO"
"Basic IFO": "Basic IFO",
"NEW": "NEW"
}

0 comments on commit 6110fae

Please sign in to comment.