import Link from 'next/link'; import Image from 'next/image'; import { useTranslations } from 'next-intl'; import { Section, Container, Card, Badge, Button } from '@/components/ui'; import Scribble from '@/components/Scribble'; import Reveal from '@/components/Reveal'; interface ProductsPageProps { params: { locale: string; }; } export default function ProductsPage({ params }: ProductsPageProps) { const t = useTranslations('Products'); const categories = [ { title: t('categories.lowVoltage.title'), desc: t('categories.lowVoltage.description'), img: '/uploads/2024/11/low-voltage-category.webp', icon: '/uploads/2024/11/Low-Voltage.svg', href: `/${params.locale}/products/low-voltage-cables` }, { title: t('categories.mediumVoltage.title'), desc: t('categories.mediumVoltage.description'), img: '/uploads/2024/11/medium-voltage-category.webp', icon: '/uploads/2024/11/Medium-Voltage.svg', href: `/${params.locale}/products/medium-voltage-cables` }, { title: t('categories.highVoltage.title'), desc: t('categories.highVoltage.description'), img: '/uploads/2024/11/high-voltage-category.webp', icon: '/uploads/2024/11/High-Voltage.svg', href: `/${params.locale}/products/high-voltage-cables` }, { title: t('categories.solar.title'), desc: t('categories.solar.description'), img: '/uploads/2024/11/solar-category.webp', icon: '/uploads/2024/11/Solar.svg', href: `/${params.locale}/products/solar-cables` } ]; return (
{t('subtitle')}
{category.desc}
{t('cta.description')}