Skip to content

Commit

Permalink
reorder
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick-1979 committed Aug 6, 2024
1 parent 7d5bdae commit 9968d1e
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions packages/extension-polkagate/src/fullscreen/onboarding/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/* eslint-disable react/jsx-max-props-per-line */

import { faBook, faBookJournalWhills, faCirclePlus, faFileCode, faHome, faMagnifyingGlassArrowRight, faQrcode, faTag, faWallet} from '@fortawesome/free-solid-svg-icons';
import { faBook, faBookJournalWhills, faCirclePlus, faFileCode, faHome, faMagnifyingGlassArrowRight, faQrcode, faTag, faWallet } from '@fortawesome/free-solid-svg-icons';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { Grid, Typography } from '@mui/material';
import { POLKADOT_GENESIS } from '@polkagate/apps-config';
Expand Down Expand Up @@ -119,16 +119,6 @@ function Onboarding(): React.ReactElement {
label={t('Create a New Account')}
onClick={onCreate}
/>
<IconBox
icon={faWallet}
label={t('Attach Ledger Device')}
onClick={onImportLedger}
/>
<IconBox
icon={faQrcode}
label={t('Attach QR-Signer')}
onClick={onAttachQR}
/>
<IconBox
icon={faFileCode}
label={t('Restore from JSON File')}
Expand All @@ -144,6 +134,16 @@ function Onboarding(): React.ReactElement {
label={t('Import from Raw Seed')}
onClick={onImportRawSeed}
/>
<IconBox
icon={faWallet}
label={t('Attach Ledger Device')}
onClick={onImportLedger}
/>
<IconBox
icon={faQrcode}
label={t('Attach QR-Signer')}
onClick={onAttachQR}
/>
<IconBox
icon={faTag}
label={t('Add Watch-only Account')}
Expand All @@ -156,7 +156,7 @@ function Onboarding(): React.ReactElement {
/>
<Grid container justifyContent='center'>
{/* eslint-disable-next-line react/jsx-no-bind */}
<Typography onClick={() => setShowPrivacyAndSecurity(true)} sx={{ bottom: 0, cursor: 'pointer', fontSize: '12px', position: 'absolute', textAlign: 'center', textDecoration: 'underline' }}>
<Typography onClick={() => setShowPrivacyAndSecurity(true)} sx={{ bottom: 10, cursor: 'pointer', fontSize: '12px', position: 'absolute', textAlign: 'center', textDecoration: 'underline' }}>
{t('Privacy and Security')}
</Typography>
</Grid>
Expand Down

0 comments on commit 9968d1e

Please sign in to comment.