Skip to content

Commit 26f2bba

Browse files
Chris KhanChris Khan
authored andcommitted
chore(home): remove unused sections and QR component
1 parent 0c44d78 commit 26f2bba

14 files changed

Lines changed: 30 additions & 1377 deletions

File tree

app/data/menu.ts

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,7 @@ export const TRADING_OPTIONS = [
4646
label: 'navigation.stocks',
4747
to: { name: TradeSubPage.Stocks }
4848
},
49-
{
50-
to: { name: LeaderboardSubPage.Pnl },
51-
label: 'navigation.leaderboard'
52-
},
49+
// Leaderboard removed in this build
5350
{
5451
isOpenDepositModal: true,
5552
label: 'navigation.more.deposit'
@@ -134,11 +131,7 @@ export const getTopNavMenu = () =>
134131
label: 'navigation.portfolio',
135132
to: { name: MainPage.Portfolio }
136133
},
137-
{
138-
isExpandable: true,
139-
children: getMoreMenu(),
140-
label: 'navigation.more.title'
141-
}
134+
// Remove More dropdown entirely in this build
142135
] as MenuItem[]
143136

144137
export const getGeoRestrictedTopMenu = () => [
@@ -158,12 +151,7 @@ export const getMobileMenuItems = () =>
158151
children: PORTFOLIO_MENU_ITEMS
159152
},
160153
...TRADING_OPTIONS,
161-
REFERRAL_ITEM,
162-
{
163-
isExpandable: true,
164-
children: getMoreMenu(),
165-
label: 'navigation.more.title'
166-
}
154+
// Referral and More removed
167155
] as MenuItem[]
168156

169157
export const getGeoRestrictedMobileMenuItems = () =>

components/Partials/Home/Announcements.vue

Lines changed: 0 additions & 45 deletions
This file was deleted.

components/Partials/Home/Sections/BuiltForTheCommunity.vue

Lines changed: 0 additions & 127 deletions
This file was deleted.

0 commit comments

Comments
 (0)