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

30 lines
1,014 B
TypeScript
Raw Normal View History

import dynamic from "next/dynamic";
2025-10-02 18:10:07 -07:00
import { HeroSection } from "@/components/homepage/hero-section";
import { AuthRedirect } from "@/components/homepage/auth-redirect";
import { FeaturesCards } from "@/components/homepage/features-card";
import { FeaturesBentoGrid } from "@/components/homepage/features-bento-grid";
const WhySurfSense = dynamic(
() => import("@/components/homepage/why-surfsense").then((m) => ({ default: m.WhySurfSense })),
);
const ExternalIntegrations = dynamic(() => import("@/components/homepage/integrations"));
const CTAHomepage = dynamic(
() => import("@/components/homepage/cta").then((m) => ({ default: m.CTAHomepage })),
);
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">
<AuthRedirect />
2025-10-02 18:10:07 -07:00
<HeroSection />
<WhySurfSense />
2025-10-02 18:10:07 -07:00
<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>
);
}