'use client'; import { useState, useEffect } from 'react'; import { getTranslations, type Language } from '@/lib/languages'; export default function SecurityPageClient({ params }: { params: { lang: string } }) { const [isLoaded, setIsLoaded] = useState(false); const lang = params.lang as Language; const t = getTranslations(lang); useEffect(() => { setIsLoaded(true); }, []); const securityServices = [ { icon: '🛡️', color: 'from-red-500 to-pink-500', data: t.pages.security.ddosProtection, }, { icon: '🔥', color: 'from-orange-500 to-red-500', data: t.pages.security.firewall, }, { icon: '🔒', color: 'from-green-500 to-emerald-500', data: t.pages.security.ssl, }, ]; return (
{t.pages.security.subtitle}
{t.pages.security.description}
{service.data.description}