"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 (
{/* ── Hero ── */}
Moy Group Hero
{/* Eyebrow */} {dict.hero.eyebrow} {/* Main heading */}

{dict.hero.subtitle}
{/* Scroll indicator */} {dict.hero.scroll}
{/* ── Marquee Strip ── */}
{/* ── Stats ── */}
{STATS.map((s, i) => (

{s.label}

))}
{/* ── Services (Geçici olarak gizlendi) ── */} {/*
{SERVICES.map((service, i) => ( {service.title}

{service.title}

{service.desc}

))}
*/} {/* ── Venues ── */}
{VENUES.map((venue, i) => ( {/* Image */}
{venue.title}
{venue.tag}
{/* Text */}

{venue.tag}

{venue.title}

{venue.desc}

{dict.cta.exploreBtn}
))}
{/* ── Testimonials (Geçici olarak gizlendi) ── */} {/*
{TESTIMONIALS.map((t, i) => ( "
{[...Array(t.rating)].map((_, j) => ( ))}

"{t.comment}"

{t.name}

{t.origin}

))}
*/} {/* ── CTA Banner ── */}
Moy Group CTA Background

{dict.cta.eyebrow}

{dict.cta.title1}
{dict.cta.title2}

{dict.cta.subtitle}

{dict.cta.btn1}
{/* ── Map / Location ── */}

{dict.venues.subtitle}

    {LOCATIONS_MAP.map((loc, idx) => (
  • setActiveMap(idx)} >
    {loc.place} {loc.addr}
  • ))}