Skip to content

Commit 4ebad41

Browse files
committed
wip
1 parent 20619c9 commit 4ebad41

File tree

4 files changed

+398
-325
lines changed

4 files changed

+398
-325
lines changed

packages/common-resources/static-resources/src/constant/router.ts

Lines changed: 55 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -329,25 +329,25 @@ export let layer2ItemData: Array<HeaderMenuItemInterface> = [
329329
},
330330
router: { path: RouterPath.stoplimit + '/${pair}' },
331331
},
332-
{
333-
label: {
334-
id: 'btrade',
335-
i18nKey: 'labelBtradeTrade',
336-
description: 'labelBtradeTradeDescription',
337-
icon: BlockTradeIcon,
338-
},
339-
router: { path: RouterPath.btrade + '/${pair}' },
340-
},
332+
// {
333+
// label: {
334+
// id: 'btrade',
335+
// i18nKey: 'labelBtradeTrade',
336+
// description: 'labelBtradeTradeDescription',
337+
// icon: BlockTradeIcon,
338+
// },
339+
// router: { path: RouterPath.btrade + '/${pair}' },
340+
// },
341341

342-
{
343-
label: {
344-
id: 'fiat',
345-
i18nKey: 'labelFiat',
346-
description: 'labelFiatDescription',
347-
icon: FiatIcon,
348-
},
349-
router: { path: RouterPath.fiat },
350-
},
342+
// {
343+
// label: {
344+
// id: 'fiat',
345+
// i18nKey: 'labelFiat',
346+
// description: 'labelFiatDescription',
347+
// icon: FiatIcon,
348+
// },
349+
// router: { path: RouterPath.fiat },
350+
// },
351351
]
352352

353353
export enum VaultKey {
@@ -783,25 +783,25 @@ export const headerMenuData: Array<HeaderMenuItemInterface> = [
783783
status: HeaderMenuTabStatus.default,
784784
child: layer2ItemData,
785785
},
786-
{
787-
label: {
788-
id: 'Invest',
789-
i18nKey: 'labelInvest',
790-
},
791-
router: { path: `${RouterPath.invest}/${InvestRouter[InvestType.Overview]}` },
792-
status: HeaderMenuTabStatus.default,
793-
child: subMenuInvest,
794-
},
795-
{
796-
label: {
797-
id: 'vault',
798-
i18nKey: 'labelVault',
799-
description: 'labelVaultDescription',
800-
},
801-
router: { path: `${RouterPath.vault}` },
802-
status: HeaderMenuTabStatus.default,
803-
child: vaultItemData,
804-
},
786+
// {
787+
// label: {
788+
// id: 'Invest',
789+
// i18nKey: 'labelInvest',
790+
// },
791+
// router: { path: `${RouterPath.invest}/${InvestRouter[InvestType.Overview]}` },
792+
// status: HeaderMenuTabStatus.default,
793+
// child: subMenuInvest,
794+
// },
795+
// {
796+
// label: {
797+
// id: 'vault',
798+
// i18nKey: 'labelVault',
799+
// description: 'labelVaultDescription',
800+
// },
801+
// router: { path: `${RouterPath.vault}` },
802+
// status: HeaderMenuTabStatus.default,
803+
// child: vaultItemData,
804+
// },
805805
{
806806
label: {
807807
id: 'NFT',
@@ -992,15 +992,15 @@ export const headerMenuDataMap: { [key: string]: HeaderMenuItemInterface[] } = {
992992
},
993993
router: { path: RouterPath.stoplimit + '/${pair}' },
994994
},
995-
{
996-
label: {
997-
id: 'btrade',
998-
i18nKey: 'labelBtradeTrade',
999-
description: 'labelBtradeTradeDescription',
1000-
icon: BlockTradeIcon,
1001-
},
1002-
router: { path: RouterPath.btrade + '/${pair}' },
1003-
},
995+
// {
996+
// label: {
997+
// id: 'btrade',
998+
// i18nKey: 'labelBtradeTrade',
999+
// description: 'labelBtradeTradeDescription',
1000+
// icon: BlockTradeIcon,
1001+
// },
1002+
// router: { path: RouterPath.btrade + '/${pair}' },
1003+
// },
10041004
]
10051005
},
10061006
{
@@ -1113,15 +1113,15 @@ export const headerMenuDataMap: { [key: string]: HeaderMenuItemInterface[] } = {
11131113
},
11141114
router: { path: RouterPath.stoplimit + '/${pair}' },
11151115
},
1116-
{
1117-
label: {
1118-
id: 'btrade',
1119-
i18nKey: 'labelBtradeTrade',
1120-
description: 'labelBtradeTradeDescription',
1121-
icon: BlockTradeIcon,
1122-
},
1123-
router: { path: RouterPath.btrade + '/${pair}' },
1124-
},
1116+
// {
1117+
// label: {
1118+
// id: 'btrade',
1119+
// i18nKey: 'labelBtradeTrade',
1120+
// description: 'labelBtradeTradeDescription',
1121+
// icon: BlockTradeIcon,
1122+
// },
1123+
// router: { path: RouterPath.btrade + '/${pair}' },
1124+
// },
11251125
]
11261126
},
11271127
{

packages/web-wallet/public/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ <h3 aria-label="Invest, Stake, and Earn" class="Typography-root Typography-h1" i
200200
</div>
201201
</section>
202202
</div>
203-
<div class="Box-root sectionFull ">
203+
<!-- <div class="Box-root sectionFull ">
204204
<section class="wrap flex-row flexBox">
205205
<div class="Box-root sectionDetail">
206206
<h3 Id="labelFeature3" aria-label="Dual Investment" class="Typography-root Typography-h1"></h3>
@@ -213,7 +213,7 @@ <h3 Id="labelFeature3" aria-label="Dual Investment" class="Typography-root Typog
213213
style="opacity: 0; transform: translateY(100%); transition: opacity 1s ease 0s, transform 1s ease 0s; width: 80%;">
214214
</div>
215215
</section>
216-
</div>
216+
</div> -->
217217
<div class="Box-root sectionFull ">
218218
<section class="wrap flex-row flexBox">
219219
<div class="Box-root sectionDetail">

packages/webapp/src/pages/LandPage/HomePage.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,8 @@ export const HomePage = withTranslation(['landPage', 'common'])(({ t }: any) =>
225225
iconURL={SoursURL + 'images/landPage/homepage_network.svg'}
226226
text={t('labelSupportedNetworkDes')}
227227
/>
228+
229+
111
228230
<TitleGroup
229231
title={t('labelNavEarn')}
230232
description={t('labelTitleLiteDes')}

0 commit comments

Comments
 (0)