'use client'; // If this component is client-side only import React from "react"; import Slider from "react-slick"; import Link from 'next/link'; import { useTranslation } from 'next-i18next'; import "slick-carousel/slick/slick.css"; import "slick-carousel/slick/slick-theme.css"; const settings = { dots: true, arrows: false, speed: 1200, slidesToShow: 1, slidesToScroll: 1, autoplay: false, autoplaySpeed: 2500, fade: true }; const Hero = () => { const { t } = useTranslation('homeHero'); // Use 'home' namespace return (

{t('hero.slide1.title')}

{t('hero.slide1.text')}

{t('hero.slide1.button')}

{t('hero.slide2.title')}

{t('hero.slide2.text')}

{t('hero.slide2.button')}

{t('hero.slide3.title')}

{t('hero.slide3.text')}

{t('hero.slide3.button')}

{t('hero.slide4.title')}

{t('hero.slide4.text')}

{t('hero.slide4.button')}
); }; export default Hero;