ultisuite-client/components/landing/landing-page.tsx
R3D347HR4Y ad1370ea7e
Some checks are pending
E2E / Playwright e2e (push) Waiting to run
feat: enhance configuration and add new demo layouts
- Introduced turbopack alias for canvas in next.config.mjs.
- Updated package.json scripts for development and branding tasks.
- Added new dependencies for Tiptap extensions.
- Implemented new demo layouts for agenda, contacts, drive, and mail applications.
- Enhanced globals.css for improved theming and splash screen animations.
- Added OAuth callback handling for drive mounts.
- Updated layout components to integrate new demo shells and improve structure.
2026-06-12 19:10:24 +02:00

51 lines
1.6 KiB
TypeScript

"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<HTMLDivElement>(null)
const [scrolled, setScrolled] = useState(false)
return (
<div
ref={scrollRef}
className="landing-root relative h-dvh overflow-y-auto overflow-x-hidden"
onScroll={() => {
const top = scrollRef.current?.scrollTop ?? 0
setScrolled((prev) => (top > 8 ? true : top <= 2 ? false : prev))
}}
>
<LandingThemeApplier />
<div className="landing-backdrop" aria-hidden>
<div className="landing-orb landing-orb--a" />
<div className="landing-orb landing-orb--b" />
<div className="landing-orb landing-orb--c" />
</div>
<div className="relative z-10 flex min-h-full flex-col">
<LandingHeader scrolled={scrolled} />
<main className="flex-1">
<LandingHero />
<LandingIntegrationsSection />
<LandingDemoSection />
<LandingAppsSection />
<LandingFeaturesSection />
<LandingSovereigntySection />
</main>
<LandingFooter />
</div>
</div>
)
}