"use client"; import { motion } from "framer-motion"; import { Star, Check } from "lucide-react"; import { useTranslations } from "next-intl"; export default function TestimonialsSection() { const t = useTranslations("Testimonials"); const reviews = t.raw("reviews") as Array<{ name: string; skinType: string; text: string; }>; return (
Testimonials

{t("title")}

{reviews.map((review, index) => (
{[...Array(5)].map((_, i) => ( ))}

“{review.text}”

{review.name}

{review.skinType}

{t("verified")}
))}
); }