SurfSense/surfsense_web/app/(home)/page.tsx

39 lines
996 B
TypeScript
Raw Normal View History

2025-04-07 23:47:06 -07:00
"use client";
2025-07-27 10:05:37 -07:00
import dynamic from "next/dynamic";
2025-10-02 18:10:07 -07:00
import { HeroSection } from "@/components/homepage/hero-section";
const FeaturesCards = dynamic(
() => import("@/components/homepage/features-card").then((m) => ({ default: m.FeaturesCards })),
{ ssr: false }
);
const FeaturesBentoGrid = dynamic(
() =>
import("@/components/homepage/features-bento-grid").then((m) => ({
default: m.FeaturesBentoGrid,
})),
{ ssr: false }
);
const ExternalIntegrations = dynamic(() => import("@/components/homepage/integrations"), {
ssr: false,
});
const CTAHomepage = dynamic(
() => import("@/components/homepage/cta").then((m) => ({ default: m.CTAHomepage })),
{ ssr: false }
);
2025-04-07 23:47:06 -07:00
export default function HomePage() {
2025-07-27 10:05:37 -07:00
return (
<main className="min-h-screen bg-gradient-to-b from-gray-50 to-gray-100 text-gray-900 dark:from-black dark:to-gray-900 dark:text-white">
2025-10-02 18:10:07 -07:00
<HeroSection />
<FeaturesCards />
2025-10-02 12:43:43 -07:00
<FeaturesBentoGrid />
2025-10-02 18:10:07 -07:00
<ExternalIntegrations />
2025-10-02 12:43:43 -07:00
<CTAHomepage />
2025-07-27 10:05:37 -07:00
</main>
);
}