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

{t("subtitle")}

{t("description")}

{problems.map((item, index) => (
{index === 0 && ( )} {index === 1 && ( )} {index === 2 && ( )}

{item.problem}

{item.description}

))}
); }