Skip to content

Commit

Permalink
Add docs menu and extra link
Browse files Browse the repository at this point in the history
  • Loading branch information
ihavecoke committed Jul 23, 2024
1 parent 16746c2 commit c041cfa
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 6 deletions.
2 changes: 1 addition & 1 deletion features/footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ const Footer: FC = () => {
<hr className="mt-6 border-[#EAEBEC]"></hr>
<div className="flex items-center justify-between mt-6">
<div className="text-xs text-text_color_3_supplement">
<span>{i18n.t('footer_005')}</span>
<div dangerouslySetInnerHTML={{__html: i18n.t('footer_005')}}/>
</div>
{isCN && (
<div className="text-xs text-text_color_3_supplement">
Expand Down
7 changes: 7 additions & 0 deletions features/header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,13 @@ function useNavs() {
label: i18n.t('header_nav_007'),
children: [],
},
{
value: "/docs",
suffix: '',
label: i18n.t('help-docs'),
children: [],
rawValue: true,
},
{
value: getContactFormUrl(i18n.i18n.language),
suffix: '',
Expand Down
2 changes: 1 addition & 1 deletion public/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
"footer_002": "Terms & Conditions",
"footer_003": "Mail",
"footer_004": "Tel",
"footer_005": "© 2023 LONGBRIDGE WHALE. All rights reserved.",
"footer_005": "© 2023 <a href=https://longbridge.com target=_blank>LONGBRIDGE</a> WHALE. All rights reserved.",
"footer_006": "Customer service",
"footer_007": "Business",
"header_nav_002": "Whale Market Data",
Expand Down
3 changes: 2 additions & 1 deletion public/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
"footer_002": "Terms & Conditions",
"footer_003": "Mail",
"footer_004": "Tel",
"footer_005": "© 2023 LONGBRIDGE WHALE. All rights reserved.",
"footer_005": "© 2023 <a href=https://longbridge.com target=_blank>LONGBRIDGE</a> WHALE. All rights reserved.",
"footer_006": "Customer service",
"footer_007": "Business",
"footer_008": "Legal Terms",
Expand Down Expand Up @@ -264,6 +264,7 @@
"live_modal_001": "WATCH NOW",
"live_video_003": "Please complete the form to register to attend the event",
"talk-to-us": "Contact Us",
"help-docs": "Help",
"feedback.name": "Name",
"feedback.name-placeholder": "Please type in your name",
"feedback.institution": "Company/Institution",
Expand Down
2 changes: 1 addition & 1 deletion public/locales/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
"footer_002": "服务条款",
"footer_003": "邮箱",
"footer_004": "电话",
"footer_005": "© 2023 LONGBRIDGE WHALE. All rights reserved.",
"footer_005": "© 2023 <a href=https://longbridge.com target=_blank>LONGBRIDGE</a> WHALE. All rights reserved.",
"footer_006": "客服",
"footer_007": "商务",
"home_features_002_2": "同时 Whale 也集成了银行通道业务对接、股票通道业务、期权通道业务、基金通道业务、KYC/AML 等服务。",
Expand Down
3 changes: 2 additions & 1 deletion public/locales/zh-CN/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
"footer_002": "服务条款",
"footer_003": "邮箱",
"footer_004": "电话",
"footer_005": "© 2023 LONGBRIDGE WHALE. All rights reserved.",
"footer_005": "© 2023 <a href=https://longbridge.com target=_blank>LONGBRIDGE</a> WHALE. All rights reserved.",
"footer_006": "客服",
"footer_007": "商务",
"footer_008": "法律条款",
Expand Down Expand Up @@ -269,6 +269,7 @@
"longport.page-title": "Omnibus 一站式解决方案 - LongPort",
"white-label.page-title": "Omnibus 一站式解决方案 - White Label",
"talk-to-us": "联系我们",
"help-docs": "帮助中心",
"feedback.name": "姓名",
"feedback.name-placeholder": "请输入姓名",
"feedback.institution": "所在公司 / 机构名称",
Expand Down
4 changes: 3 additions & 1 deletion public/locales/zh-HK/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"footer_002": "服務條款",
"footer_003": "郵箱",
"footer_004": "電話",
"footer_005": "© 2023 LONGBRIDGE WHALE. All rights reserved.",
"help-docs": "帮助中心",
"footer_005": "© 2023 <a href=https://longbridge.com target=_blank>LONGBRIDGE</a> WHALE. All rights reserved.",
"footer_006": "客服",
"footer_007": "商務",
"footer_008": "法律條款",
Expand Down Expand Up @@ -267,6 +268,7 @@
"live_modal_002": "立即預約",
"live_modal_003": "數字券商·向雲而生",
"talk-to-us": "聯繫我們",
"talk-to-us": "聯繫我們",
"feedback.name": "姓名",
"feedback.name-placeholder": "請輸入姓名",
"feedback.institution": "所在公司 / 機構名稱",
Expand Down

0 comments on commit c041cfa

Please sign in to comment.