"use client"; import { useState } from "react"; import Image from "next/image"; import { m, type Variants } from "framer-motion"; import Link from "next/link"; import { Utensils, Umbrella, Home, Wind, Hotel, Star, 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"; 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 SERVICES = [ { id: "restaurant", title: "Restaurant", icon: Utensils, desc: "Ege'nin taze lezzetleri, yerel malzemeler ve şef imzalı tatlar.", bg: "https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&q=80&w=800", }, { id: "beach", title: "Beach Bar", icon: Umbrella, desc: "Altın kumlar, masmavi deniz ve özenle seçilmiş içecekler.", bg: "https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&q=80&w=800", }, { id: "bungalow", title: "Bungalov", icon: Home, desc: "Doğa ile iç içe, huzurlu ve modern konaklama deneyimi.", bg: "https://images.unsplash.com/photo-1449844908441-8829872d2607?auto=format&fit=crop&q=80&w=800", }, { id: "kitesurf", title: "Kite Surf", icon: Wind, desc: "Rüzgarın enerjisini hissedin; başlangıç ve ileri seviye dersler.", bg: "https://images.unsplash.com/photo-1526685514088-290076a0d426?auto=format&fit=crop&q=80&w=800", }, { id: "hotel", title: "Hotel", icon: Hotel, desc: "Premium konfor ve Ege'nin eşsiz manzarasıyla özel tatil.", bg: "https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&q=80&w=800", }, ]; const TESTIMONIALS = [ { name: "Ayşe Y.", origin: "İstanbul", comment: "Ege'de şimdiye kadar geçirdiğim en güzel tatildi. Hizmet kalitesi muazzamdı, her detay özenle düşünülmüş.", rating: 5, }, { name: "John S.", origin: "London", comment: "The kite surfing instructors were incredibly professional. The location is breathtaking — I'll be back next summer.", rating: 5, }, { name: "Mehmet K.", origin: "Ankara", comment: "Bungalovlar son derece huzurlu. Doğanın içindeyken şehrin konforundan hiç taviz vermiyorsunuz.", rating: 5, }, ]; 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: any }) { 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}
  • ))}