feat: add handler for continue button
This commit is contained in:
parent
ab17c39a82
commit
0b51bd6535
|
@ -1,30 +1,28 @@
|
||||||
import { Stack, Text as TextTam, XStack, YStack } from 'tamagui'
|
import { Stack, Text as TextTam, XStack, YStack } from 'tamagui'
|
||||||
import { Button, Text } from '@status-im/components'
|
import { Text } from '@status-im/components'
|
||||||
import { Link } from 'react-router-dom'
|
import { Link } from 'react-router-dom'
|
||||||
import OverviewCard from './OverviewCard'
|
import OverviewCard from './OverviewCard'
|
||||||
import { ArrowRightIcon } from '@status-im/icons'
|
import { ArrowRightIcon } from '@status-im/icons'
|
||||||
import ValidatorBoxWrapper from '../ValidatorBoxWrapper/ValidatorBoxWrapper'
|
|
||||||
|
|
||||||
const Overview = () => {
|
const Overview = () => {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<ValidatorBoxWrapper>
|
|
||||||
<YStack className="layout-left" space={'$5'} style={{ padding: '16px 32px' }}>
|
<YStack className="layout-left" space={'$5'} style={{ padding: '16px 32px' }}>
|
||||||
<TextTam fontSize={27} fontWeight={'600'} style={{ marginBottom: '5px' }}>
|
<TextTam fontSize={27} fontWeight={'600'} style={{ marginBottom: '5px' }}>
|
||||||
Overview
|
Overview
|
||||||
</TextTam>
|
</TextTam>
|
||||||
<Text size={27}>
|
<Text size={27}>
|
||||||
Becoming a validator is a big responsibility with important preparation steps. Only
|
Becoming a validator is a big responsibility with important preparation steps. Only start
|
||||||
start the deposit process when youre ready.
|
the deposit process when youre ready.
|
||||||
</Text>
|
</Text>
|
||||||
<Text size={15} color="#939BA1">
|
<Text size={15} color="#939BA1">
|
||||||
By running a validator, you'll be responsible for securing the network and receive
|
By running a validator, you'll be responsible for securing the network and receive
|
||||||
continuous payouts for actions that help the network reach consensus.
|
continuous payouts for actions that help the network reach consensus.
|
||||||
</Text>
|
</Text>
|
||||||
<Text size={15} color="#939BA1">
|
<Text size={15} color="#939BA1">
|
||||||
Since the successful transition to proof-of-stake via The Merge, Ethereum is fully
|
Since the successful transition to proof-of-stake via The Merge, Ethereum is fully secured
|
||||||
secured by proof-of-stake validators. By running a validator, you'll be helping to
|
by proof-of-stake validators. By running a validator, you'll be helping to secure the
|
||||||
secure the Ethereum network.
|
Ethereum network.
|
||||||
</Text>
|
</Text>
|
||||||
<Stack style={{ margin: '2% 0 4%', maxWidth: 'fit-content' }}>
|
<Stack style={{ margin: '2% 0 4%', maxWidth: 'fit-content' }}>
|
||||||
<Text size={15}>
|
<Text size={15}>
|
||||||
|
@ -52,10 +50,6 @@ const Overview = () => {
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</ValidatorBoxWrapper>
|
|
||||||
<Stack style={{ alignItems: 'end', width: '100%', marginTop: '16px', zIndex: 999 }}>
|
|
||||||
<Button>Continue</Button>
|
|
||||||
</Stack>
|
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue