Implement Advisories

This commit is contained in:
Hristo Nedelkov 2023-08-24 13:24:10 +03:00
parent f330356850
commit 7cadce718e
1 changed files with 47 additions and 3 deletions

View File

@ -1,5 +1,7 @@
import { Button, Shadow } from '@status-im/components'
import { Stack } from 'tamagui'
import { Button, Shadow, Text } from '@status-im/components'
import { Stack, XStack, YStack } from 'tamagui'
import IconText from '../../../components/General/IconText'
import { Link } from 'react-router-dom'
const Advicsories = () => {
return (
@ -12,7 +14,49 @@ const Advicsories = () => {
backgroundColor: '#fff',
padding: '16px 32px',
}}
></Shadow>
>
<XStack
justifyContent={'space-between'}
className="layout-left"
space={10}
style={{ padding: '16px 32px' }}
>
<YStack>
<Text size={27}>Advisories</Text>
<Text size={15}> Proof of Stake</Text>
<Text size={15}> Deposit</Text>
<Text size={15}> Key Management</Text>
<Text size={15} color="blue">
Bad Behaviour
</Text>
<Text size={15}> Requirements</Text>
<Text size={15}> Risks</Text>
</YStack>
<YStack>
<Text size={27}>Bad Behaviour</Text>
<Text size={13}>
If you try to cheat the system, or act contrary to the specification, you will be
liable to incur a penalty known as slashing*. Running your validator keys
simultaneously on two or more machines will result in slashing.* Simply being offline
with an otherwise healthy network does not result in slashing, but will result in
small inactivity penalties.
</Text>
<Text size={13} style={{ textDecorationLine: 'underline' }} color="#484848">
<Link to={'https://github.com/ethereum/consensus-specs'}>
The Ethereum consensus layer specification
</Link>
</Text>
<Text size={13} weight={'semibold'}>
<Link
to={'https://github.com/ethereum/consensus-specs'}
style={{ textDecorationLine: 'underline', color: '#2A4CF4', fontWeight: 'bold' }}
>
More on slashing risks
</Link>
</Text>
</YStack>
</XStack>
</Shadow>
<Stack style={{ alignItems: 'end', width: '100%', marginTop: '16px' }}>
<Button>Continue</Button>
</Stack>