From 028b48f379dee4e0595fda8edcbf6806d2a427a9 Mon Sep 17 00:00:00 2001 From: Leon Serfaty G Date: Thu, 17 Jul 2025 10:21:29 +0000 Subject: [PATCH] this is how the next step should look like. yes = 30 hours no= 0 hours --- .../cost-estimator/cost-estimator-form.tsx | 12 +++ .../cost-estimator/step-2-service-type.tsx | 1 + .../cost-estimator/step-3-project-stage.tsx | 1 + .../cost-estimator/step-4-design-process.tsx | 1 + .../cost-estimator/step-5-page-count.tsx | 1 + .../cost-estimator/step-6-animations.tsx | 89 +++++++++++++++++++ 6 files changed, 105 insertions(+) create mode 100644 src/components/cost-estimator/step-6-animations.tsx diff --git a/src/components/cost-estimator/cost-estimator-form.tsx b/src/components/cost-estimator/cost-estimator-form.tsx index 77bd521..8576a51 100644 --- a/src/components/cost-estimator/cost-estimator-form.tsx +++ b/src/components/cost-estimator/cost-estimator-form.tsx @@ -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 ( + + ); default: return (
+
+ +
+
+
+ + {estimatedHours}+ hours +
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+ ); +}