'use client' import { useTranslations } from 'next-intl' import { Link } from '@/i18n/routing' import { motion, useReducedMotion } from 'framer-motion' import { MapPin, Wifi, UtensilsCrossed, Waves, Car } from 'lucide-react' import Image from 'next/image' import BougainvilleaMotif from '@/components/BougainvilleaMotif' import openinaryLoader from '@/lib/openinary-loader' const EASE: [number, number, number, number] = [0.22, 1, 0.36, 1] export default function HomePage() { const tHero = useTranslations('hero') const tFeatures = useTranslations('features') const tRooms = useTranslations('home_rooms') const prefersReduced = useReducedMotion() const heroContainer = prefersReduced ? undefined : { hidden: {}, show: { transition: { staggerChildren: 0.12 } } } const heroItem = prefersReduced ? undefined : { hidden: { opacity: 0, y: 40, filter: 'blur(8px)' }, show: { opacity: 1, y: 0, filter: 'blur(0px)', transition: { duration: 0.8, ease: EASE } } } return (
{/* Hero Section */}
Sitar Apart Hotel View
{tHero('title')} {tHero('description')} {tHero('cta')}
{/* Amenities Strip */}
{[ { icon: Waves, label: tFeatures('pool') }, { icon: Wifi, label: tFeatures('wifi') }, { icon: UtensilsCrossed, label: tFeatures('kitchen') }, { icon: Car, label: tFeatures('parking') } ].map((amenity, idx) => (
{amenity.label}
))}
{/* Apartments Section */}

{tRooms('title')}

{tRooms('subtitle')}

{[ { id: 'standart-oda', title: tRooms('room_1.title'), desc: tRooms('room_1.desc'), img: 'https://media.ayris.tech/t/starapart/SUITE_1_1/DSC01491 (1).JPG' }, { id: 'kucuk-oda', title: tRooms('room_2.title'), desc: tRooms('room_2.desc'), img: 'https://media.ayris.tech/t/starapart/STUDIO_1_0/DSC01465 (1).JPG' }, { id: '1-1-daire', title: tRooms('room_3.title'), desc: tRooms('room_3.desc'), img: 'https://media.ayris.tech/t/starapart/SUITE_1_1/DSC01491 (1).JPG' } ].map((room, idx) => (
{room.title}

{room.title}

{room.desc}

Detayları İncele
))}
Tüm Daireleri Gör
) }