'use client' import { useRef } from 'react' import { useTranslations } from 'next-intl' import { motion, useInView } from 'framer-motion' import Image from 'next/image' export default function AboutSection() { const t = useTranslations('about') const ref = useRef(null) const isInView = useInView(ref, { once: true, margin: '-100px' }) const stats = [ { label: t('stat1Label'), value: t('stat1Value') }, { label: t('stat2Label'), value: t('stat2Value') }, { label: t('stat3Label'), value: t('stat3Value') }, ] return (
{/* Sol: Görsel */} Vesta Muğla - Orman
{/* Label */}
Emtisi İnşaat
{/* Sağ: İçerik */}
{t('label')} {t('title')} {t('desc')} {/* İstatistikler */}
{stats.map((stat, i) => (

{stat.value}

{stat.label}

))}
) }