'use client' import { motion } from 'framer-motion' import Link from 'next/link' import Image from 'next/image' import { ArrowRight, Star } from 'lucide-react' import { ShimmerButton } from '@/components/magicui/shimmer-button' import { cn } from '@/components/common/Navbar' const EASE = [0.22, 1, 0.36, 1] as const const fadeInUp = { hidden: { opacity: 0, y: 40, filter: 'blur(8px)' }, show: { opacity: 1, y: 0, filter: 'blur(0px)', transition: { duration: 0.8, ease: EASE } } } export function HomePageClient({ dict, tours, categories, reviews }: { dict: any, tours: any[], categories: any[], reviews: any[] }) { return (
{/* Hero Section */}
Fethiye Hero
{dict.hTitle} {dict.hSubtitle} {dict.hCta}
{/* Popular Tours Section */}

{dict.sPopular}

{dict.sViewAll}
{tours.slice(0, 4).map((tour, i) => ( {tour.title}

{tour.title}

{dict.tFrom} ${tour.price}
))}
{/* Editorial Categories */}
{dict.sCategories}
{categories.slice(0, 3).map((cat, i) => ( {cat.name}

{cat.name}

))}
{/* Reviews Section */}

{dict.sReviews}

{reviews.map((review, i) => (
{[...Array(review.rating)].map((_, j) => )}

"{review.comment}"

{review.authorName}
))}
) }