Secure your wallet page (#13571)

* Secure you wallet page

* Remove seedPhraseIntroSidebarBulletThree from messages.json

* Change the second bullet from Figma design

* Requested review changes
feature/default_network_editable
VSaric 3 years ago committed by GitHub
parent 7ddd8cfede
commit 6b996a7979
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      app/_locales/en/messages.json
  2. 1
      ui/pages/onboarding-flow/secure-your-wallet/index.scss
  3. 41
      ui/pages/onboarding-flow/secure-your-wallet/secure-your-wallet.js

@ -2590,22 +2590,22 @@
"message": "Secure my wallet (recommended)" "message": "Secure my wallet (recommended)"
}, },
"seedPhraseIntroSidebarBulletFour": { "seedPhraseIntroSidebarBulletFour": {
"message": "Write down and store in multiple secret places." "message": "Write down and store in multiple secret places"
}, },
"seedPhraseIntroSidebarBulletOne": { "seedPhraseIntroSidebarBulletOne": {
"message": "Save in a password manager" "message": "Save in a password manager"
}, },
"seedPhraseIntroSidebarBulletThree": { "seedPhraseIntroSidebarBulletThree": {
"message": "Store in a safe-deposit box." "message": "Store in a safe deposit box"
}, },
"seedPhraseIntroSidebarBulletTwo": { "seedPhraseIntroSidebarBulletTwo": {
"message": "Store in a bank vault." "message": "Store in a bank vault"
}, },
"seedPhraseIntroSidebarCopyOne": { "seedPhraseIntroSidebarCopyOne": {
"message": "Your Secret Recovery Phrase is a 12-word phrase that is the “master key” to your wallet and your funds" "message": "Your Secret Recovery Phrase is a 12-word phrase that is the “master key” to your wallet and your funds"
}, },
"seedPhraseIntroSidebarCopyThree": { "seedPhraseIntroSidebarCopyThree": {
"message": "If someone asks for your recovery phrase they are likely trying to scam you and steal your wallet funds" "message": "If someone asks for your recovery phrase they are likely trying to scam you and steal your wallet funds."
}, },
"seedPhraseIntroSidebarCopyTwo": { "seedPhraseIntroSidebarCopyTwo": {
"message": "Never, ever share your Secret Recovery Phrase, not even with MetaMask!" "message": "Never, ever share your Secret Recovery Phrase, not even with MetaMask!"

@ -8,6 +8,7 @@
&__details { &__details {
max-width: 550px; max-width: 550px;
padding-inline-end: 10px;
} }
&__actions { &__actions {

@ -9,6 +9,7 @@ import {
TYPOGRAPHY, TYPOGRAPHY,
JUSTIFY_CONTENT, JUSTIFY_CONTENT,
FONT_WEIGHT, FONT_WEIGHT,
DISPLAY,
} from '../../../helpers/constants/design-system'; } from '../../../helpers/constants/design-system';
import { import {
ThreeStepProgressBar, ThreeStepProgressBar,
@ -59,16 +60,13 @@ export default function SecureYourWallet() {
justifyContent={JUSTIFY_CONTENT.CENTER} justifyContent={JUSTIFY_CONTENT.CENTER}
textAlign={TEXT_ALIGN.CENTER} textAlign={TEXT_ALIGN.CENTER}
marginBottom={4} marginBottom={4}
marginTop={8}
> >
<Typography variant={TYPOGRAPHY.H2} fontWeight={FONT_WEIGHT.BOLD}> <Typography variant={TYPOGRAPHY.H2} fontWeight={FONT_WEIGHT.BOLD}>
{t('seedPhraseIntroTitle')} {t('seedPhraseIntroTitle')}
</Typography> </Typography>
</Box> </Box>
<Box <Box justifyContent={JUSTIFY_CONTENT.CENTER} marginBottom={6}>
justifyContent={JUSTIFY_CONTENT.CENTER}
textAlign={TEXT_ALIGN.CENTER}
marginBottom={6}
>
<Typography <Typography
variant={TYPOGRAPHY.H4} variant={TYPOGRAPHY.H4}
className="secure-your-wallet__details" className="secure-your-wallet__details"
@ -121,57 +119,54 @@ export default function SecureYourWallet() {
{t('seedPhraseIntroRecommendedButtonCopy')} {t('seedPhraseIntroRecommendedButtonCopy')}
</Button> </Button>
</Box> </Box>
<Box marginBottom={4} textAlign={TEXT_ALIGN.CENTER}> <Box>
<Box marginBottom={4}>
<Typography <Typography
tag="span" tag="p"
variant={TYPOGRAPHY.H4} variant={TYPOGRAPHY.H4}
fontWeight={FONT_WEIGHT.BOLD} fontWeight={FONT_WEIGHT.BOLD}
boxProps={{ display: 'block' }} boxProps={{ display: DISPLAY.BLOCK }}
> >
{t('seedPhraseIntroSidebarTitleOne')} {t('seedPhraseIntroSidebarTitleOne')}
</Typography> </Typography>
<Typography tag="span" variant={TYPOGRAPHY.H4}> <Typography tag="p" variant={TYPOGRAPHY.H4}>
{t('seedPhraseIntroSidebarCopyOne')} {t('seedPhraseIntroSidebarCopyOne')}
</Typography> </Typography>
</Box> </Box>
<Box marginBottom={4} textAlign={TEXT_ALIGN.CENTER}> <Box marginBottom={4}>
<Typography <Typography
tag="span" tag="p"
variant={TYPOGRAPHY.H4} variant={TYPOGRAPHY.H4}
fontWeight={FONT_WEIGHT.BOLD} fontWeight={FONT_WEIGHT.BOLD}
boxProps={{ display: 'block' }} boxProps={{ display: DISPLAY.BLOCK }}
> >
{t('seedPhraseIntroSidebarTitleTwo')} {t('seedPhraseIntroSidebarTitleTwo')}
</Typography> </Typography>
<ul className="secure-your-wallet__list"> <ul className="secure-your-wallet__list">
<li>{t('seedPhraseIntroSidebarBulletOne')}</li> <li>{t('seedPhraseIntroSidebarBulletOne')}</li>
<li>{t('seedPhraseIntroSidebarBulletTwo')}</li>
<li>{t('seedPhraseIntroSidebarBulletThree')}</li> <li>{t('seedPhraseIntroSidebarBulletThree')}</li>
<li>{t('seedPhraseIntroSidebarBulletFour')}</li> <li>{t('seedPhraseIntroSidebarBulletFour')}</li>
</ul> </ul>
</Box> </Box>
<Box marginBottom={6} textAlign={TEXT_ALIGN.CENTER}> <Box marginBottom={6}>
<Typography <Typography
tag="span" tag="p"
variant={TYPOGRAPHY.H4} variant={TYPOGRAPHY.H4}
fontWeight={FONT_WEIGHT.BOLD} fontWeight={FONT_WEIGHT.BOLD}
boxProps={{ display: 'block' }} boxProps={{ display: DISPLAY.BLOCK }}
> >
{t('seedPhraseIntroSidebarTitleThree')} {t('seedPhraseIntroSidebarTitleThree')}
</Typography> </Typography>
<Typography tag="span" variant={TYPOGRAPHY.H4}> <Typography tag="p" variant={TYPOGRAPHY.H4}>
{t('seedPhraseIntroSidebarCopyTwo')} {t('seedPhraseIntroSidebarCopyTwo')}
</Typography> </Typography>
</Box> </Box>
<Box <Box className="secure-your-wallet__highlighted" marginBottom={2}>
className="secure-your-wallet__highlighted" <Typography tag="p" variant={TYPOGRAPHY.H4}>
marginBottom={2}
textAlign={TEXT_ALIGN.CENTER}
>
<Typography tag="span" variant={TYPOGRAPHY.H4}>
{t('seedPhraseIntroSidebarCopyThree')} {t('seedPhraseIntroSidebarCopyThree')}
</Typography> </Typography>
</Box> </Box>
</Box>
</div> </div>
); );
} }

Loading…
Cancel
Save