'use client'; import { useState, useEffect, useRef } from 'react'; import Image from 'next/image'; import { Card, CardBody, Chip } from '@heroui/react'; import { useLanguage } from '@/contexts/LanguageContext'; import { useTheme } from '@/contexts/ThemeContext'; export default function WhyAssetXSection() { const { t } = useLanguage(); const { theme } = useTheme(); const [animate, setAnimate] = useState(false); const sectionRef = useRef(null); useEffect(() => { const currentRef = sectionRef.current; if (!currentRef) return; const observer = new IntersectionObserver( (entries) => { if (entries[0].isIntersecting) { setAnimate(true); observer.disconnect(); } }, { threshold: 0.5 } ); observer.observe(currentRef); return () => observer.disconnect(); }, []); const isDark = theme === 'dark'; return (

{t('why.title')}

{t('why.subtitle')}

System Data

{t('why.sustainable.title')}

{t('why.sustainable.desc')}

Chart
Shield Check

{t('why.reliability.title')}

{t('why.reliability.desc')}

Lock Icon
Arrow

{t('why.liquidity.title')}

{t('why.liquidity.desc')}

{t('why.liquidity.badge1')} {t('why.liquidity.badge2')}
); }