2025-06-22 13:07:02 +02:00
|
|
|
import { Hero } from "@/components/landing/hero";
|
|
|
|
|
import { Header } from "@/components/header";
|
2025-06-22 14:25:19 +02:00
|
|
|
import { getWaitlistCount } from "@/lib/waitlist";
|
2025-06-25 15:00:35 +01:00
|
|
|
import Image from "next/image";
|
2025-06-22 14:25:19 +02:00
|
|
|
|
2025-06-22 18:05:44 +02:00
|
|
|
// Force dynamic rendering so waitlist count updates in real-time
|
|
|
|
|
export const dynamic = "force-dynamic";
|
|
|
|
|
|
2025-06-22 14:25:19 +02:00
|
|
|
export default async function Home() {
|
|
|
|
|
const signupCount = await getWaitlistCount();
|
2025-06-22 13:07:02 +02:00
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<div>
|
2025-06-25 15:00:35 +01:00
|
|
|
<Image
|
|
|
|
|
className="fixed top-0 left-0 -z-50 size-full object-cover"
|
|
|
|
|
src="/landing-page-bg.png"
|
|
|
|
|
height={1903.5}
|
|
|
|
|
width={1269}
|
|
|
|
|
alt="landing-page.bg"
|
|
|
|
|
/>
|
2025-06-22 13:07:02 +02:00
|
|
|
<Header />
|
2025-06-22 14:25:19 +02:00
|
|
|
<Hero signupCount={signupCount} />
|
2025-06-22 13:07:02 +02:00
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
}
|