'use client'; import { useState, useEffect } from 'react'; import { getTranslations, type Language } from '@/lib/languages'; export default function LangPage({ params }: { params: { lang: string } }) { const [glitchActive, setGlitchActive] = useState(false); const [isLoaded, setIsLoaded] = useState(false); const lang = params.lang as Language; const t = getTranslations(lang); useEffect(() => { setIsLoaded(true); const glitchInterval = setInterval(() => { setGlitchActive(true); setTimeout(() => setGlitchActive(false), 200); }, 3000); return () => clearInterval(glitchInterval); }, []); return (

{t.hero.title}
{t.hero.subtitle}

{t.hero.description}

{/* Features Grid */}
{[ { title: t.features.ddos, icon: '🛡️', color: 'from-red-500 to-pink-500', }, { title: t.features.realtime, icon: '📊', color: 'from-cyan-500 to-blue-500', }, { title: t.features.global, icon: '🌐', color: 'from-purple-500 to-indigo-500', }, ].map((feature, index) => (
{feature.icon}

{feature.title}

))}
{/* Terminal Simulation */}
cyber-cloud-terminal
$ system status --global
✓ Shanghai DC: CPU 23% | RAM 45% | Network 1.2Gbps
✓ Tokyo DC: CPU 18% | RAM 38% | Network 980Mbps
✓ Seoul DC: CPU 31% | RAM 52% | Network 1.5Gbps
$ _
); }