mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-01-20 16:30:34 +00:00
feat: add static components to key generation
This commit is contained in:
parent
728bab2b80
commit
8445cc06e1
@ -1,12 +1,29 @@
|
||||
import { YStack } from 'tamagui'
|
||||
import KeyGenerationHeader from './KeyGenerationHeader'
|
||||
import RecoveryMechanism from './RecoveryMechanism'
|
||||
import { Button, InformationBox, Text } from '@status-im/components'
|
||||
import { CloseCircleIcon } from '@status-im/icons'
|
||||
|
||||
const KeyGeneration = () => {
|
||||
return (
|
||||
<YStack space={'$2'} style={{ width: '100%', padding: '16px 32px' }}>
|
||||
<YStack space={'$2'} style={{ width: '100%', padding: '16px 32px', alignItems: 'start' }}>
|
||||
<KeyGenerationHeader />
|
||||
<RecoveryMechanism />
|
||||
<Text size={27} weight={'semibold'}>
|
||||
4 Validators
|
||||
</Text>
|
||||
<Button>Generate Key files</Button>
|
||||
<InformationBox
|
||||
message="You should see that you have one keystore per validator. This keystore contains your signing key, encrypted with your password. Warning: Do not store keys on multiple (backup) validator clients at once"
|
||||
variant="error"
|
||||
icon={<CloseCircleIcon size={20} />}
|
||||
/>
|
||||
<Button>Reveal Recovery Phrase</Button>
|
||||
<InformationBox
|
||||
message="Write down and keep your Secret Recovery Phrase in a secure place. Make sure no one is looking at your screen."
|
||||
variant="error"
|
||||
icon={<CloseCircleIcon size={20} />}
|
||||
/>
|
||||
</YStack>
|
||||
)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user