"use client"; import { motion, useInView } from "framer-motion"; import { useRef } from "react"; import { SectionHeader } from "@/components/shared/SectionHeader"; import { AnimatedCounter } from "@/components/shared/AnimatedCounter"; import { pressQuotes } from "@/lib/constants"; const stats = [ { title: "Where Istanbulites Actually Go", stat: "1 in 3", description: "Istanbul residents lives on the Asian side. On weekends, thousands more cross over for breakfast, shopping, and the best sunsets in the city.", }, { title: "Named One of the World's 50 Coolest Neighbourhoods", stat: "Top 50", description: "Kadıköy was named by Time Out as one of the 50 coolest neighbourhoods on Earth. You've probably never heard of it.", }, { title: "Zero Tourist Crowds", stat: "50,000", description: "While Sultanahmet processes 50,000 visitors a day, you'll share Moda's waterfront with students, artists, and cats. Mostly cats.", }, ]; export function WhyAsianSide() { const ref = useRef(null); const isInView = useInView(ref, { once: true, margin: "-100px" }); return (
{stats.map((stat, i) => (
{stat.stat === "50,000" ? ( ) : ( stat.stat )}

{stat.title}

{stat.description}

))}
{/* Press marquee */}
{[...pressQuotes, ...pressQuotes].map((press, i) => ( “{press.quote}” — {press.source} ))}
); }