"use client" import { Icons } from "../icons" import { AppContent } from "../ui/app-content" import { Button } from "../ui/button" import { LABELS } from "@/app/labels" import { cn } from "@/lib/utils" import dynamic from "next/dynamic" import Image from "next/image" import Link from "next/link" import { useRef, useEffect, useState } from "react" const MotionDiv = dynamic( () => import("framer-motion").then((mod) => mod.motion.div), { ssr: false, loading: () =>
} ) const MotionSpan = dynamic( () => import("framer-motion").then((mod) => mod.motion.span), { ssr: false, loading: () => } ) const MotionH1 = dynamic( () => import("framer-motion").then((mod) => mod.motion.h1), { ssr: false, loading: () =>

} ) export const ParallaxHero = () => { const containerRef = useRef(null) const [isClient, setIsClient] = useState(false) useEffect(() => { setIsClient(true) }, []) return (
{isClient ? ( {/* Light mode images */} {/* Dark mode images */} ) : (
{/* Light mode images */} {/* Dark mode images */}
)} {isClient ? (
{LABELS.HOMEPAGE.HEADER_TITLE} {LABELS.HOMEPAGE.HEADER_SUBTITLE}
) : (
{LABELS.HOMEPAGE.HEADER_TITLE}

{LABELS.HOMEPAGE.HEADER_SUBTITLE}

)}
) }