"use client"; import { useTranslations } from "next-intl"; import { mockData } from "@/lib/mock-data"; import Link from "next/link"; import Image from "next/image"; import { motion } from "framer-motion"; import { ArrowRight } from "lucide-react"; export function RoomList() { const t = useTranslations("accommodations"); // We take the first 3 rooms for the bento grid const featuredRoom = mockData.accommodations[0]; const sideRooms = mockData.accommodations.slice(1, 3); return (

{t("title")}

{t("desc")}

{t("viewAll")}
{/* Bento-style Grid */}
{`${featuredRoom.name}
{t("bestseller")}

{featuredRoom.name}

{featuredRoom.type} • {t("bedrooms", { count: featuredRoom.bedrooms })} • {t("persons", { count: featuredRoom.capacity })}

{/* Side Stacked Items */}
{sideRooms.map((room) => (
{`${room.name}

{room.type}

{room.name}

{t("persons", { count: room.capacity })}

))}
); }