this is how the next step looks like
This commit is contained in:
@@ -9,7 +9,8 @@ import { Step5PageCount } from './step-5-page-count';
|
||||
import { Step6Animations } from './step-6-animations';
|
||||
import { Step7Illustrations } from './step-7-illustrations';
|
||||
import { Step8Branding } from './step-8-branding';
|
||||
import { Step9Results, calculateTotalHours } from './step-9-results';
|
||||
import { Step9AdditionalFeatures } from './step-9-additional-features';
|
||||
import { Step10Results, calculateTotalHours } from './step-10-results';
|
||||
import { Card, CardContent } from '@/components/ui/card';
|
||||
import { AnimatePresence, motion } from 'framer-motion';
|
||||
|
||||
@@ -31,6 +32,7 @@ export type FormData = {
|
||||
animatedElements: boolean | null;
|
||||
illustrations: IllustrationSelection;
|
||||
branding: BrandingSelection;
|
||||
additionalFeatures: string[];
|
||||
};
|
||||
|
||||
export function CostEstimatorForm() {
|
||||
@@ -49,6 +51,7 @@ export function CostEstimatorForm() {
|
||||
is3dAnimated: null,
|
||||
},
|
||||
branding: null,
|
||||
additionalFeatures: [],
|
||||
});
|
||||
const [isPending, startTransition] = useTransition();
|
||||
|
||||
@@ -83,6 +86,7 @@ export function CostEstimatorForm() {
|
||||
is3dAnimated: null,
|
||||
},
|
||||
branding: null,
|
||||
additionalFeatures: [],
|
||||
});
|
||||
setCurrentStep(1);
|
||||
}
|
||||
@@ -164,7 +168,16 @@ export function CostEstimatorForm() {
|
||||
);
|
||||
case 9:
|
||||
return (
|
||||
<Step9Results
|
||||
<Step9AdditionalFeatures
|
||||
onNext={handleNextStep}
|
||||
onBack={handlePrevStep}
|
||||
onUpdateData={handleUpdateFormData}
|
||||
formData={formData}
|
||||
/>
|
||||
);
|
||||
case 10:
|
||||
return (
|
||||
<Step10Results
|
||||
formData={formData}
|
||||
onReset={handleReset}
|
||||
estimatedHours={estimatedHours}
|
||||
|
||||
Reference in New Issue
Block a user