Skip to content

Commit 46b59da

Browse files
authored
chore: Remove quests from menu and components (#11246)
<!-- 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 removing references to the `QuestBanner` and related components, indicating a shift away from features associated with quests in the application. ### Detailed summary - Deleted files: - `AdQuests.tsx` - `QuestBanner.tsx` - `ContentTwoActions.tsx` - Removed `QuestBanner` from the `useMultipleBannerConfig` hook. - Deleted translations related to quests from `translations.json`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent fddc420 commit 46b59da

File tree

6 files changed

+0
-166
lines changed

6 files changed

+0
-166
lines changed

apps/web/src/components/AdPanel/Ads/AdQuests.tsx

-29
This file was deleted.

apps/web/src/components/AdPanel/Variations/ContentTwoActions.tsx

-29
This file was deleted.

apps/web/src/components/Menu/config/config.ts

-5
Original file line numberDiff line numberDiff line change
@@ -179,11 +179,6 @@ const config: (
179179
href: '/lottery',
180180
image: '/images/decorations/lottery.png',
181181
},
182-
{
183-
label: t('Quests'),
184-
href: 'https://quest.pancakeswap.finance/quests',
185-
type: DropdownMenuItemType.EXTERNAL_LINK,
186-
},
187182
].map((item) => addMenuItemSupported(item, chainId)),
188183
},
189184
{

apps/web/src/views/Home/components/Banners/QuestBanner.tsx

-92
This file was deleted.

apps/web/src/views/Home/components/Banners/hooks/useMultipleBannerConfig.tsx

-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import CompetitionBanner from '../CompetitionBanner'
44
import { FourMemeBanner } from '../FourMemeBanner'
55
import { OptionsBanner } from '../OptionsBanner'
66
import { PCSXBanner } from '../PCSXBanner'
7-
import { QuestBanner } from '../QuestBanner'
87
import { TgPredictionBotBanner } from '../TgPredictionBotBanner'
98
import UserBanner from '../UserBanner'
109
import { V4InfoBanner } from '../V4InfoBanner'
@@ -53,10 +52,6 @@ export const useMultipleBannerConfig = () => {
5352
shouldRender: true,
5453
banner: <WebNotificationBanner />,
5554
},
56-
{
57-
shouldRender: true,
58-
banner: <QuestBanner />,
59-
},
6055
{
6156
shouldRender: true,
6257
banner: <FourMemeBanner />,

packages/localization/src/config/translations.json

-6
Original file line numberDiff line numberDiff line change
@@ -3378,11 +3378,6 @@
33783378
"playing ARB predictions": "playing ARB predictions",
33793379
"and Galxe campaign!": "and Galxe campaign!",
33803380
"Join now": "Join now",
3381-
"Quests": "Quests",
3382-
"Your Multichain Defi Quest Platform - Create your Defi profile now": "Your Multichain Defi Quest Platform - Create your Defi profile now",
3383-
"Your Multichain Defi Quest Platform": "Your Multichain Defi Quest Platform",
3384-
"PancakeSwap Quest-Beta Now Live": "PancakeSwap Quest-Beta Now Live",
3385-
"Create Your Profile": "Create Your Profile",
33863381
"Click here": "Click here",
33873382
"to enable update notifications": "to enable update notifications",
33883383
"By Subscribing to PancakeSwap Notifications you will be able to receive updates on your buy crypto purchases": "By Subscribing to PancakeSwap Notifications you will be able to receive updates on your buy crypto purchases",
@@ -3577,7 +3572,6 @@
35773572
"Introducing CLAMM Options Trading.": "Introducing CLAMM Options Trading.",
35783573
"Fee Swaps on Ethereum & Arbitrum": "Fee Swaps on Ethereum & Arbitrum",
35793574
"Swap Now!": "Swap Now!",
3580-
"PancakeSwap Quest Beta Now Live!": "PancakeSwap Quest Beta Now Live!",
35813575
"PancakeSwap Prediction Telegram Bot is now live!": "PancakeSwap Prediction Telegram Bot is now live!",
35823576
"Quick start to Buy Crypto": "Quick start to Buy Crypto",
35833577
"Need Help?": "Need Help?",

0 commit comments

Comments
 (0)