This commit is contained in:
2026-01-17 02:15:11 +01:00
parent c8f61257c9
commit 7c5b91749b
56 changed files with 818 additions and 731 deletions

View File

@@ -10,33 +10,33 @@ interface ProductsPageProps {
}
export default function ProductsPage({ params }: ProductsPageProps) {
const t = useTranslations('Navigation');
const t = useTranslations('Products');
const categories = [
{
title: 'Low Voltage Cables',
desc: 'Powering everyday essentials with reliability and safety.',
title: t('categories.lowVoltage.title'),
desc: t('categories.lowVoltage.description'),
img: '/uploads/2024/12/low-voltage-scaled.webp',
icon: '/uploads/2024/11/Low-Voltage.svg',
href: `/${params.locale}/products/low-voltage-cables`
},
{
title: 'Medium Voltage Cables',
desc: 'The perfect balance between power and performance for industrial and urban grids.',
title: t('categories.mediumVoltage.title'),
desc: t('categories.mediumVoltage.description'),
img: '/uploads/2024/12/medium-voltage-scaled.webp',
icon: '/uploads/2024/11/Medium-Voltage.svg',
href: `/${params.locale}/products/medium-voltage-cables`
},
{
title: 'High Voltage Cables',
desc: 'Delivering maximum power over long distances—without compromise.',
title: t('categories.highVoltage.title'),
desc: t('categories.highVoltage.description'),
img: '/uploads/2025/06/na2xsfl2y-rendered.webp',
icon: '/uploads/2024/11/High-Voltage.svg',
href: `/${params.locale}/products/high-voltage-cables`
},
{
title: 'Solar Cables',
desc: 'Connecting the suns energy to your sustainable future.',
title: t('categories.solar.title'),
desc: t('categories.solar.description'),
img: '/uploads/2025/04/3.webp',
icon: '/uploads/2024/11/Solar.svg',
href: `/${params.locale}/products/solar-cables`
@@ -48,9 +48,9 @@ export default function ProductsPage({ params }: ProductsPageProps) {
<Section className="bg-neutral-light">
<Container>
<div className="max-w-3xl mx-auto text-center mb-16">
<h1 className="text-4xl font-bold mb-6">Our Products</h1>
<h1 className="text-4xl font-bold mb-6">{t('title')}</h1>
<p className="text-xl text-text-secondary">
Explore our comprehensive range of high-quality cables designed for every application.
{t('subtitle')}
</p>
</div>
@@ -77,7 +77,7 @@ export default function ProductsPage({ params }: ProductsPageProps) {
{category.desc}
</p>
<span className="text-primary font-medium group-hover:translate-x-1 transition-transform inline-flex items-center">
View Products &rarr;
{t('viewProducts')} &rarr;
</span>
</div>
</Link>