"use client" import { useMediaQuery } from "@/hooks/useMediaQuery" import { LandingNavbar } from "@/components/landing/LandingNavbar" import { LandingHero } from "@/components/landing/LandingHero" import { LandingFeatures } from "@/components/landing/LandingFeatures" import { LandingFooter } from "@/components/landing/LandingFooter" import { MobileHero } from "@/components/landing/mobile/MobileHero" import { MobileFeatures } from "@/components/landing/mobile/MobileFeatures" import { useTheme } from "@/components/ThemeProvider" import { cn } from "@/lib/utils" import dynamic from "next/dynamic" const LandingSolutions = dynamic( () => import("@/components/landing/LandingSolutions").then((mod) => mod.LandingSolutions), { ssr: true, loading: () =>
, } ) export default function HomePage() { const isMobile = useMediaQuery("(max-width: 768px)") const { theme } = useTheme() const isLight = theme === "light" return (
{isMobile ? ( <> ) : ( <> )}
) }