'use client'; import { useTranslations } from 'next-intl'; import { motion } from 'framer-motion'; import { cn } from '@/lib/utils'; import Button from '@/components/ui/Button'; import Chip from '@/components/ui/Chip'; import ProgressBar from './ProgressBar'; import type { StepProps } from './WizardContainer'; // ─── Data ───────────────────────────────────────────────────────────────────── interface IndustryOption { id: string; label: string; } const INDUSTRIES: IndustryOption[] = [ { id: 'maritime', label: 'Maritime / Yachting' }, { id: 'hospitality', label: 'Hospitality' }, { id: 'technology', label: 'Technology' }, { id: 'realestate', label: 'Real Estate' }, { id: 'finance', label: 'Finance' }, { id: 'ngo', label: 'NGO / Nonprofit' }, { id: 'other', label: 'Other' }, ]; interface TimelineOption { id: string; label: string; } const TIMELINES: TimelineOption[] = [ { id: 'asap', label: 'ASAP' }, { id: '1-3months', label: '1–3 months' }, { id: '3-6months', label: '3–6 months' }, { id: 'exploring', label: 'Just exploring' }, ]; // ─── Component ──────────────────────────────────────────────────────────────── export default function StepDetails({ formData, setFormData, onNext, onBack }: StepProps) { const t = useTranslations('configurator'); const selectIndustry = (id: string) => { setFormData((prev) => ({ ...prev, industry: prev.industry === id ? null : id, })); }; const selectTimeline = (id: string) => { setFormData((prev) => ({ ...prev, timeline: prev.timeline === id ? null : id, })); }; const canProceed = true; // Step 2 fields are optional return (
{/* Progress */} {/* Heading */}

{t('step2.title')}

{t('step2.subtitle')}

{/* Industry */}
{INDUSTRIES.map((option, index) => ( selectIndustry(option.id)} > {option.label} ))}
{/* Scope / Goals */}