this is how the next step should look like.

yes = 30 hours

no= 0 hours
This commit is contained in:
Leon Serfaty G
2025-07-17 10:21:29 +00:00
parent cf4741af10
commit 028b48f379
6 changed files with 105 additions and 0 deletions
@@ -6,6 +6,7 @@ import { Step2ServiceType } from './step-2-service-type';
import { Step3ProjectStage } from './step-3-project-stage';
import { Step4DesignProcess } from './step-4-design-process';
import { Step5PageCount } from './step-5-page-count';
import { Step6Animations } from './step-6-animations';
import { Card, CardContent } from '@/components/ui/card';
import { AnimatePresence, motion } from 'framer-motion';
@@ -15,6 +16,7 @@ export type FormData = {
projectStage: number;
designProcess: 'custom' | 'mockups' | 'existing' | null;
pageCount: number;
animatedElements: boolean | null;
};
export function CostEstimatorForm() {
@@ -25,6 +27,7 @@ export function CostEstimatorForm() {
projectStage: 0,
designProcess: null,
pageCount: 0,
animatedElements: null,
});
const [isPending, startTransition] = useTransition();
@@ -89,6 +92,15 @@ export function CostEstimatorForm() {
formData={formData}
/>
);
case 6:
return (
<Step6Animations
onNext={handleNextStep}
onBack={handlePrevStep}
onUpdateData={handleUpdateFormData}
formData={formData}
/>
);
default:
return (
<Step1ProjectType