This repository has been archived by the owner on Jul 22, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: apply translation on components
- Loading branch information
1 parent
9a3dc10
commit fc98d67
Showing
16 changed files
with
140 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
import React from 'react'; | ||
import { AppStore } from 'store'; | ||
import { useTranslation } from 'react-i18next'; | ||
import CreateWalletBtn from '../CreateWalletBtn'; | ||
import { Button, Typography } from '../UI'; | ||
import img from './assets/img.png'; | ||
import img2x from './assets/[email protected]'; | ||
import css from './styles.module.scss'; | ||
|
||
const HowItWorks = () => { | ||
const { t } = useTranslation(); | ||
const { setScreen } = AppStore; | ||
const handleNext = () => setScreen('setupOne'); | ||
|
||
|
@@ -17,18 +19,18 @@ const HowItWorks = () => { | |
</div> | ||
<div className={css.right}> | ||
<Typography className={css.title} type="title"> | ||
How It works | ||
{t('how_it_works')} | ||
</Typography> | ||
<Typography className={css.subttl} type="subttl"> | ||
Step 1: Connect your wallet. | ||
{t('step_1')} | ||
</Typography> | ||
<Typography className={css.subttl} type="subttl"> | ||
Step 2: Choose how many Gigabits of the Ledger you want to store | ||
{t('step_2')} | ||
</Typography> | ||
<Typography className={css.desc} as="p"> | ||
The more GB you store the more money you make | ||
{t('more_gb')} | ||
</Typography> | ||
<Button onClick={handleNext}>Next</Button> | ||
<Button onClick={handleNext}>{t('next')}</Button> | ||
<div className={css.newWallet}> | ||
<CreateWalletBtn /> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.