Merge branch 'hn.validator-onboarding' of https://github.com/nimbus-gui/nimbus-gui into hn.validator-onboarding

This commit is contained in:
Hristo Nedelkov 2023-08-24 10:16:07 +03:00
commit 1e99f3734b
1 changed files with 51 additions and 61 deletions

View File

@ -2,70 +2,60 @@ import { Stack, Text as TextTam, YStack } from 'tamagui'
import { Button, Shadow, Text } from '@status-im/components'
import FormStepper from './Stepper'
import PageWrapperGradient from '../../components/PageWrappers/PageWrapperGradient'
import Titles from '../../components/General/Titles'
Text
function ValidatorOnboarding() {
const ValidatorOnboarding = () => {
return (
<>
<PageWrapperGradient>
<YStack style={{ maxWidth: '1052px', width: '100%', margin: '0 auto', maxHeight: '582px' }}>
<YStack style={{ width: '100%', margin: '64px 0 1vh' }}>
<Text size={19} weight={'semibold'}>
Create Nimbus Validator
</Text>
<Text size={15} weight="regular">
Earn Rewards for securing the Ethereum Network
</Text>
<FormStepper />
</YStack>
<Shadow
variant="$2"
style={{
borderRadius: '16px',
border: 'none',
flexDirection: 'row',
backgroundColor: '#fff',
}}
className="content"
>
<YStack className="layout-left" space={10} left={40} top={40}>
<TextTam fontSize={27} fontWeight={'700'} style={{ marginBottom: '30px' }}>
Overview
</TextTam>
<Text size={27}>
Becoming a validator is a big responsibility with important preparation steps. Only
start the deposit process when youre ready."
</Text>
<Text size={15} color="#939BA1">
By running a validator, you'll be responsible for securing the network and receive
continuous payouts for actions that help the network reach consensus.
</Text>
<Text size={15} color="#939BA1">
Since the successful transition to proof-of-stake via The Merge, Ethereum is fully
secured by proof-of-stake validators. By running a validator, you'll be helping to
secure the Ethereum network.
</Text>
</YStack>
<section className="layout-right">
<div className="image-container">
<img
src="./background-images/sync-status-background.png"
alt="background"
className="background-img"
/>
</div>
</section>
</Shadow>
<Stack marginTop="$4" alignItems='flex-end'>
<Button variant="blue" size={40} >
Continue
</Button>
</Stack>
<PageWrapperGradient>
<YStack style={{ width: '100%', margin: '0 auto', padding: '0 10%' }}>
<YStack style={{ width: '100%', margin: '64px 0 1vh' }}>
<Titles
title="Create Nimbus Validator"
subtitle="Earn Rewards for securing the Ethereum Network"
/>
<FormStepper />
</YStack>
</PageWrapperGradient>
</>
<Shadow
variant="$2"
style={{
borderRadius: '16px',
border: 'none',
flexDirection: 'row',
backgroundColor: '#fff',
}}
className="content"
>
<YStack className="layout-left" space={10} left={40} top={40}>
<TextTam fontSize={27} fontWeight={'700'} style={{ marginBottom: '30px' }}>
Overview
</TextTam>
<Text size={27}>
Becoming a validator is a big responsibility with important preparation steps. Only
start the deposit process when youre ready."
</Text>
<Text size={15} color="#939BA1">
By running a validator, you'll be responsible for securing the network and receive
continuous payouts for actions that help the network reach consensus.
</Text>
<Text size={15} color="#939BA1">
Since the successful transition to proof-of-stake via The Merge, Ethereum is fully
secured by proof-of-stake validators. By running a validator, you'll be helping to
secure the Ethereum network.
</Text>
</YStack>
<section className="layout-right">
<div className="image-container">
<img
src="./background-images/sync-status-background.png"
alt="background"
className="background-img"
/>
</div>
</section>
</Shadow>
</YStack>
</PageWrapperGradient>
)
}