diff --git a/shop/components/wizard/progress-stepper.tsx b/shop/components/wizard/progress-stepper.tsx index cc7bca2..f571f6c 100644 --- a/shop/components/wizard/progress-stepper.tsx +++ b/shop/components/wizard/progress-stepper.tsx @@ -1,5 +1,7 @@ 'use client' +import React from 'react' +import { motion } from 'framer-motion' import { Check } from 'lucide-react' interface ProgressStepperProps { @@ -7,32 +9,64 @@ interface ProgressStepperProps { basketItemsCount: number } +const STEP_LABELS = ['Kunde', 'Modell', 'Software', 'Abschluss'] + export function ProgressStepper({ step, basketItemsCount }: ProgressStepperProps) { + // Calculate progress percentage for active line (Step 1: 0%, Step 2: 33.3%, Step 3: 66.6%, Step 4: 100%) + const progressPercent = ((step - 1) / 3) * 100 + return ( -