Skip to content

Commit e42b23b

Browse files
committed
feat: hide unfinished feature
1 parent 0b16f2a commit e42b23b

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

src/i18n/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ i18n
8181
'etc-contact': '欢迎提供援助:CSUwangj@protonmail.com。'
8282
}
8383
},
84-
'introduction': '接触、学习、实践,为了密码学你需要的都在这(还未完成 :)',
84+
'introduction': '接触、学习、实践,为了密码学你需要的都在这(更新中 :)',
8585
'light': '日间模式',
8686
'dark': '夜间模式',
8787
'lab-welcome': '欢迎来到密码学实验室,这里准备了一些资源、实验、设计来帮助你练习密码学,希望你享受这里的一切!',
@@ -93,8 +93,8 @@ i18n
9393
'flag': '通过解题夺旗学习密码学',
9494
'translate': '多语言支持',
9595
'resource': '整合多渠道资源',
96-
'tools': '为新手准备的密码学工具箱(施工中)',
97-
'visualize': '图解密码学算法(施工中)',
96+
'tools': '为新手准备的密码学工具箱(更新中)',
97+
'visualize': '图解密码学算法(更新中)',
9898
},
9999
'wip': '施工中',
100100
'lab': {

src/pages/home/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { useTranslation } from 'react-i18next'
44
import styled from '@emotion/styled/macro'
55
import { Div } from 'components/Div'
66
import { H1, H3, H5, Button, Intent, Text } from '@blueprintjs/core'
7+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
78
import { IconNames } from "@blueprintjs/icons"
89
import { ExternalLink } from 'components/Link'
910
import { useHistory } from 'react-router-dom'
@@ -46,6 +47,7 @@ const NavButton = styled(Button)`
4647
flex: 0 1 auto;
4748
`
4849

50+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
4951
const TakeButton = styled(NavButton)`
5052
span {
5153
color: #61dafb;
@@ -105,7 +107,7 @@ export const Page: React.FC = () => {
105107
<Gap />
106108
<ButtonContainer>
107109
<NavButton large intent={Intent.PRIMARY} onClick={() => history.push('/practice')} text={t('getstarted')} />
108-
<TakeButton large outlined={true} rightIcon={IconNames.ARROW_RIGHT} onClick={() => history.push('/tutorial')} text={t('taketutorial')} />
110+
{/* <TakeButton large outlined={true} rightIcon={IconNames.ARROW_RIGHT} onClick={() => history.push('/tutorial')} text={t('taketutorial')} /> */}
109111
</ButtonContainer>
110112
</IntroBelowImg>
111113
<FeaturesContainer>

src/pages/index/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ export const Page: React.FC = ({ children }) => {
7171
</Unselectable>
7272
<NavbarDivider />
7373
<Unselectable>
74-
<Button minimal large icon={IconNames.HELP} text={t('nav.tutorial')} onClick={() => history.push('/tutorial')} />
74+
{/* <Button minimal large icon={IconNames.HELP} text={t('nav.tutorial')} onClick={() => history.push('/tutorial')} /> */}
75+
{/* <Button minimal large icon={IconNames.SEARCH} text={t('nav.learning')} onClick={() => history.push('/learning')} /> */}
7576
<Button minimal large icon={IconNames.FLAG} text={t('nav.practice')} onClick={() => history.push('/practice')} />
76-
<Button minimal large icon={IconNames.SEARCH} text={t('nav.learning')} onClick={() => history.push('/learning')} />
7777
</Unselectable>
7878
</NavbarGroup>
7979
<NavbarGroup align={Alignment.RIGHT}>

0 commit comments

Comments
 (0)