'use client'; import { useEffect, useRef } from 'react'; import { useTranslations } from 'next-intl'; export function BlogHero() { const ref = useRef(null); const t = useTranslations('blogPage'); useEffect(() => { const section = ref.current; if (!section) return; section.querySelectorAll('.hero-reveal').forEach((el, i) => { setTimeout(() => { el.style.opacity = '1'; el.style.transform = 'translateY(0)'; }, 80 + i * 120); }); }, []); return (
{t('hero.sectionLabel')}

{t('hero.title')}

{t('hero.subtitle')}

); }