Merge branch 'hn.validator-onboarding' of https://github.com/nimbus-gui/nimbus-gui into hn.validator-onboarding
This commit is contained in:
commit
28e1b2a5e1
|
@ -1,7 +1,7 @@
|
|||
import { YStack } from 'tamagui'
|
||||
|
||||
const Activation = () => {
|
||||
return <YStack></YStack>
|
||||
return <YStack style={{ padding: '16px 32px' }}></YStack>
|
||||
}
|
||||
|
||||
export default Activation
|
||||
|
|
|
@ -3,7 +3,7 @@ import KeyGenerationHeader from './KeyGenerationHeader'
|
|||
|
||||
const KeyGeneration = () => {
|
||||
return (
|
||||
<YStack space={'$2'} style={{ width: '100%' }}>
|
||||
<YStack space={'$2'} style={{ width: '100%', padding: '16px 32px' }}>
|
||||
<KeyGenerationHeader />
|
||||
</YStack>
|
||||
)
|
||||
|
|
|
@ -1,13 +1,11 @@
|
|||
import { Text } from '@status-im/components'
|
||||
import { XStack } from 'tamagui'
|
||||
import SyncCard from './SyncCard'
|
||||
import KeyGenerationTitle from './KeyGenerationTitle'
|
||||
|
||||
const KeyGenerationHeader = () => {
|
||||
return (
|
||||
<XStack style={{ width: '100%', alignItems: 'center', justifyContent: 'space-between' }}>
|
||||
<Text size={27} weight={'semibold'}>
|
||||
Key Generation
|
||||
</Text>
|
||||
<KeyGenerationTitle />
|
||||
<XStack space={'$2'}>
|
||||
<SyncCard synced={123.524} total={172.503} title="Execution Sync Status" />
|
||||
<SyncCard synced={123.524} total={172.503} title="Consensus Sync Status" />
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
import type { Meta, StoryObj } from '@storybook/react'
|
||||
|
||||
import KeyGenerationTitle from './KeyGenerationTitle'
|
||||
|
||||
const meta = {
|
||||
title: 'ValidatorOnboarding/KeyGenerationTitle',
|
||||
component: KeyGenerationTitle,
|
||||
parameters: {
|
||||
layout: 'centered',
|
||||
},
|
||||
tags: ['autodocs'],
|
||||
argTypes: {},
|
||||
} satisfies Meta<typeof KeyGenerationTitle>
|
||||
|
||||
export default meta
|
||||
type Story = StoryObj<typeof meta>
|
||||
|
||||
export const Page: Story = {
|
||||
args: {},
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
import { Text } from '@status-im/components'
|
||||
|
||||
const KeyGenerationTitle = () => {
|
||||
return (
|
||||
<Text size={27} weight={'semibold'}>
|
||||
Key Generation
|
||||
</Text>
|
||||
)
|
||||
}
|
||||
|
||||
export default KeyGenerationTitle
|
|
@ -7,7 +7,7 @@ import { ArrowRightIcon } from '@status-im/icons'
|
|||
const Overview = () => {
|
||||
return (
|
||||
<>
|
||||
<YStack className="layout-left" space={'$5'}>
|
||||
<YStack className="layout-left" space={'$5'} style={{ padding: '16px 32px' }}>
|
||||
<TextTam fontSize={27} fontWeight={'600'} style={{ marginBottom: '5px' }}>
|
||||
Overview
|
||||
</TextTam>
|
||||
|
|
|
@ -15,7 +15,6 @@ const ValidatorBoxWrapper = ({ children }: ValidatorBoxWrapperProps) => {
|
|||
flexDirection: 'row',
|
||||
backgroundColor: '#fff',
|
||||
zIndex: 999,
|
||||
padding: '16px 32px',
|
||||
width: '100%',
|
||||
}}
|
||||
>
|
||||
|
|
|
@ -28,7 +28,7 @@ const ValidatorSetup = () => {
|
|||
},
|
||||
]
|
||||
return (
|
||||
<YStack style={{ width: '100%' }}>
|
||||
<YStack style={{ width: '100%', padding: '16px 32px' }}>
|
||||
<XStack justifyContent={'space-between'}>
|
||||
<Text size={27} weight={'semibold'}>
|
||||
Validator Setup
|
||||
|
|
Loading…
Reference in New Issue