'use client'; import { useTranslations } from 'next-intl'; import { motion } from 'framer-motion'; import { revealVariants, staggerContainer, viewportOnce } from '@/lib/animations'; import WizardContainer from '@/components/configurator/WizardContainer'; // ─── Step indicator dot ─────────────────────────────────────────────────────── interface StepDotProps { index: number; label: string; } function StepDot({ index, label }: StepDotProps) { return (
{index}
{label}
); } // ─── Component ──────────────────────────────────────────────────────────────── export default function Configurator() { const t = useTranslations('configurator'); const steps = [ t('step1.title'), t('step2.title'), t('step3.title'), ]; return (
{/* ── Left: Sticky context panel ─────────────────────────────── */}
{/* Eyebrow */} {t('eyebrow')} {/* H2 */} {t('title')} {/* Description */} {t('description')} {/* Step indicators */}

How it works

{steps.map((step, i) => ( ))}
{/* Trust signal */}

No commitment required

{/* ── Right: Wizard ───────────────────────────────────────────── */}
); }