'use client'; import { motion } from 'framer-motion'; import { useRef } from 'react'; import { useTranslation } from 'react-i18next'; import './i18n/config'; export default function HomePage() { const { t } = useTranslation(); const constraintsRef = useRef(null); const fadeInUp = { hidden: { opacity: 0, y: 20 }, visible: { opacity: 1, y: 0, transition: { duration: 0.6, ease: "easeOut" } } }; const staggerContainer = { hidden: { opacity: 0 }, visible: { opacity: 1, transition: { staggerChildren: 0.2, delayChildren: 0.3 } } }; const buttonHover = { rest: { scale: 1 }, hover: { scale: 1.05, transition: { type: "spring", stiffness: 400, damping: 10 } }, tap: { scale: 0.95 } }; const floatingAnimation = { y: [0, -10, 0], transition: { duration: 2, repeat: Infinity, ease: "easeInOut" } }; return (
{t("heroTitleLine1")}
{t("heroTitleLine2")}
{t("heroSubtitle")}
{t("rentTab")} {t("buyTab")} {t("sellTab")}
{t("searchButton")}

{t("whyChooseUsTitle")}

{t("whyChooseUsSubtitle")}

{t("feature1Title")}

{t("feature1Description")}

{t("feature2Title")}

{t("feature2Description")}

{t("feature3Title")}

{t("feature3Description")}

); }