'use client'; import { useState, useEffect } from 'react'; import { getTranslations, type Language } from '@/lib/languages'; export default function ProductsPageClient({ params }: { params: { lang: string } }) { const [isLoaded, setIsLoaded] = useState(false); const lang = params.lang as Language; const t = getTranslations(lang); useEffect(() => { setIsLoaded(true); }, []); const products = [ { icon: 'βοΈ', color: 'from-blue-500 to-cyan-500', data: t.pages.products.cloudServers, }, { icon: 'πΎ', color: 'from-purple-500 to-pink-500', data: t.pages.products.storage, }, { icon: 'π', color: 'from-green-500 to-teal-500', data: t.pages.products.networking, }, ]; return (
{t.pages.products.subtitle}
{t.pages.products.description}
{product.data.description}
| εθ½ | δΊζε‘ε¨ | δΊεε¨ | η½η»ζε‘ |
|---|---|---|---|
| ι«ε―η¨ζ§ | β | β | β |
| θͺε¨ζ©ε± | β | β | - |
| ε ¨ηι¨η½² | β | - | β |