"use client" import { useRef, useState } from "react" import { LandingDemoSection } from "@/components/landing/landing-demo" import { LandingHeader } from "@/components/landing/landing-header" import { LandingHero } from "@/components/landing/landing-hero" import { LandingThemeApplier } from "@/components/landing/landing-theme-applier" import { LandingAppsSection, LandingFeaturesSection, LandingFooter, LandingIntegrationsSection, LandingSovereigntySection, } from "@/components/landing/landing-sections" export function LandingPage() { const scrollRef = useRef(null) const [scrolled, setScrolled] = useState(false) return (
{ const top = scrollRef.current?.scrollTop ?? 0 setScrolled((prev) => (top > 8 ? true : top <= 2 ? false : prev)) }} >
) }