"use client"; import { ArrowRight, Star, Calendar } from "lucide-react"; import { Button } from "@/components/ui/button"; import { useLanguage } from "@/contexts/LanguageContext"; import { products, categories, reviews } from "@/data/products"; import ProductCard from "@/components/ProductCard"; import Link from "next/link"; export default function Home() { const { t } = useLanguage(); const bestsellers = products.filter((p) => p.isBestseller); return (
{/* Hero */}
Extensions de cheveux luxe

{t("hero.title")}

{t("hero.subtitle")}

{/* Categories */}

{t("categories.title")}

{categories.map((cat) => ( {cat.name}

{cat.name}

{cat.description}

))}
{/* Bestsellers */}

{t("bestsellers.title")}

{t("nav.shop")}
{bestsellers.map((p) => ( ))}
{/* Booking Banner */}
Réservation

{t("booking.title")}

{t("booking.subtitle")}

{/* Reviews */}

{t("reviews.title")}

{reviews.map((review) => (
{Array.from({ length: review.rating }).map((_, i) => ( ))}

{review.text}

{review.name}

))}
); }