'use client' import { useAtomValue } from 'jotai' import { stepAtom } from '@/features/deployments/create-guide/state' import { GuideCard, GuideFrame } from './layout' import { ReleaseActionButtons, ReleaseStepContent, } from './release-step' import { SourceActionButtons, SourceStepContent, } from './source-step' import { TargetBackButton, TargetDeployButton, TargetSkipDeploymentButton, TargetStepContent, } from './target-step' export function CreateDeploymentGuideShell() { const step = useAtomValue(stepAtom) return ( } > ) } function CreateDeploymentGuideStepContent() { const step = useAtomValue(stepAtom) if (step === 'source') { return (
) } if (step === 'release') { return (
) } return (
) } function CreateDeploymentGuideActionBar() { const step = useAtomValue(stepAtom) return (
{step === 'source' && } {step === 'release' && } {step === 'target' && ( <> )}
) }