this is how the next step looks like .. calcylate 7 6 hours per page sho

This commit is contained in:
Leon Serfaty G
2025-07-17 10:18:40 +00:00
parent 9b0a02d663
commit cf4741af10
5 changed files with 120 additions and 6 deletions
@@ -5,6 +5,7 @@ import { Step1ProjectType } from './step-1-project-type';
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 { Card, CardContent } from '@/components/ui/card';
import { AnimatePresence, motion } from 'framer-motion';
@@ -13,6 +14,7 @@ export type FormData = {
serviceType: 'entire-project' | 'development' | 'ui-ux-design' | 'identity-branding' | null;
projectStage: number;
designProcess: 'custom' | 'mockups' | 'existing' | null;
pageCount: number;
};
export function CostEstimatorForm() {
@@ -22,6 +24,7 @@ export function CostEstimatorForm() {
serviceType: null,
projectStage: 0,
designProcess: null,
pageCount: 0,
});
const [isPending, startTransition] = useTransition();
@@ -77,6 +80,15 @@ export function CostEstimatorForm() {
formData={formData}
/>
);
case 5:
return (
<Step5PageCount
onNext={handleNextStep}
onBack={handlePrevStep}
onUpdateData={handleUpdateFormData}
formData={formData}
/>
);
default:
return (
<Step1ProjectType