"use client"; import { motion } from "framer-motion"; import { useTranslations, useLocale } from "next-intl"; export default function HowItWorks() { const t = useTranslations("HowItWorks"); const locale = useLocale(); const steps = t.raw("steps") as Array<{ title: string; description: string }>; return (
{t("title")}

{t("subtitle")}

{steps.map((step, index) => ( {index < steps.length - 1 && (
)}
0{index + 1}
{index === 0 && ( )} {index === 1 && ( )} {index === 2 && ( )}

{step.title}

{step.description}

))}
{t("startTransformation")}
); }