feat: add new steps components
This commit is contained in:
parent
e319761b3f
commit
b822190370
|
@ -5,6 +5,9 @@ import Titles from '../../components/General/Titles'
|
||||||
import { useState } from 'react'
|
import { useState } from 'react'
|
||||||
import Overview from './Overview'
|
import Overview from './Overview'
|
||||||
import KeyGeneration from './KeyGeneration'
|
import KeyGeneration from './KeyGeneration'
|
||||||
|
import Advicsories from './Advicsories'
|
||||||
|
import ValidatorSetup from './ValidatorSetup'
|
||||||
|
import Activation from './Activation'
|
||||||
|
|
||||||
const ValidatorOnboarding = () => {
|
const ValidatorOnboarding = () => {
|
||||||
const [activeStep, setActiveStep] = useState(0)
|
const [activeStep, setActiveStep] = useState(0)
|
||||||
|
@ -31,7 +34,10 @@ const ValidatorOnboarding = () => {
|
||||||
/>
|
/>
|
||||||
<FormStepper activeStep={activeStep} changeActiveStep={changeActiveStep} />
|
<FormStepper activeStep={activeStep} changeActiveStep={changeActiveStep} />
|
||||||
{activeStep === 0 && <Overview />}
|
{activeStep === 0 && <Overview />}
|
||||||
|
{activeStep === 1 && <Advicsories />}
|
||||||
|
{activeStep === 2 && <ValidatorSetup />}
|
||||||
{activeStep === 3 && <KeyGeneration />}
|
{activeStep === 3 && <KeyGeneration />}
|
||||||
|
{activeStep === 4 && <Activation />}
|
||||||
</YStack>
|
</YStack>
|
||||||
</PageWrapperGradient>
|
</PageWrapperGradient>
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue