"use client"; import { useState } from "react"; import Image from "next/image"; import { m, type Variants } from "framer-motion"; import Link from "next/link"; import { MapPin, ArrowRight } from "lucide-react"; import { Button } from "@/app/components/ui/button"; import { SectionHeader } from "@/app/components/ui/section-header"; import { Marquee } from "@/app/components/ui/marquee"; import { AnimatedNumber } from "@/app/components/ui/animated-number"; import { TextReveal } from "@/app/components/ui/text-reveal"; import { ShimmerButton } from "@/app/components/ui/shimmer-button"; import { Badge } from "@/app/components/ui/badge"; import type { Dictionary } from "@/types/dictionary"; const HERO_BG = "https://images.unsplash.com/photo-1499793983690-e29da59ef1c2?auto=format&fit=crop&q=80&w=2070"; const MARQUEE_ITEMS = [ "Akyaka", "Akçapınar", "Beach Bar", "Kite Surf", "Restaurant", "Hotel", "Ege Denizi", ]; const STATS = [ { value: 15, suffix: "+", label: "Yıl Deneyim" }, { value: 3, suffix: "", label: "Lokasyon" }, { value: 5000, suffix: "+", label: "Mutlu Misafir" }, { value: 5, suffix: "", label: "Hizmet Kategorisi" }, ]; const fadeUp: Variants = { hidden: { opacity: 0, y: 30 }, visible: (i = 0) => ({ opacity: 1, y: 0, transition: { duration: 0.65, delay: i * 0.12, ease: [0.16, 1, 0.3, 1] as [number, number, number, number] }, }), }; export default function HomeClient({ lang, dict }: { lang: string; dict: Dictionary["home"] }) { const [activeMap, setActiveMap] = useState(0); const VENUES: { id: string; title: string; tag: string; desc: string; img: string; color: string; link: string }[] = dict.venuesList; const LOCATIONS_MAP: { place: string; addr: string; embed: string }[] = dict.locationsMap; return (
{s.label}
{service.desc}
{venue.tag}
{venue.desc}
{dict.cta.exploreBtn}"{t.comment}"
{t.name}
{t.origin}
{dict.cta.eyebrow}
{dict.cta.subtitle}
{dict.venues.subtitle}