This commit is contained in:
2026-01-17 02:45:23 +01:00
parent 7c5b91749b
commit ef2817e5be
17 changed files with 169 additions and 384 deletions

View File

@@ -2,13 +2,15 @@ import { useTranslations } from 'next-intl';
import Hero from '@/components/home/Hero';
import ProductCategories from '@/components/home/ProductCategories';
import WhatWeDo from '@/components/home/WhatWeDo';
import RecentPosts from '@/components/home/RecentPosts';
import Experience from '@/components/home/Experience';
import WhyChooseUs from '@/components/home/WhyChooseUs';
import MeetTheTeam from '@/components/home/MeetTheTeam';
import GallerySection from '@/components/home/GallerySection';
import VideoSection from '@/components/home/VideoSection';
import CTA from '@/components/home/CTA';
export default function HomePage() {
export default function HomePage({ params: { locale } }: { params: { locale: string } }) {
const t = useTranslations('Index');
return (
@@ -16,6 +18,8 @@ export default function HomePage() {
<Hero />
<ProductCategories />
<WhatWeDo />
<RecentPosts locale={locale} />
<Experience />
<WhyChooseUs />
<MeetTheTeam />
<GallerySection />

View File

@@ -16,28 +16,28 @@ export default function ProductsPage({ params }: ProductsPageProps) {
{
title: t('categories.lowVoltage.title'),
desc: t('categories.lowVoltage.description'),
img: '/uploads/2024/12/low-voltage-scaled.webp',
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/12/medium-voltage-scaled.webp',
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/2025/06/na2xsfl2y-rendered.webp',
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/2025/04/3.webp',
img: '/uploads/2024/11/solar-category.webp',
icon: '/uploads/2024/11/Solar.svg',
href: `/${params.locale}/products/solar-cables`
}