diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-06-28 12:38:31 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-06-28 12:38:31 +0200 |
| commit | 5a6872537e526ed4b5d0c428c31e28f1d60ac471 (patch) | |
| tree | 5ed2c65aef8421c26877fcf70f76a8d36ae4a22c /apps/web/src/app | |
| parent | 8fe09c83b1abd67161c880bf630d0e6d46c70cf4 (diff) | |
| download | opencut-5a6872537e526ed4b5d0c428c31e28f1d60ac471.tar.gz | |
feat: dedicated footer
Diffstat (limited to 'apps/web/src/app')
| -rw-r--r-- | apps/web/src/app/page.tsx | 52 |
1 files changed, 27 insertions, 25 deletions
diff --git a/apps/web/src/app/page.tsx b/apps/web/src/app/page.tsx index e9957e1b..183b6a56 100644 --- a/apps/web/src/app/page.tsx +++ b/apps/web/src/app/page.tsx @@ -1,25 +1,27 @@ -import { Hero } from "@/components/landing/hero";
-import { Header } from "@/components/header";
-import { getWaitlistCount } from "@/lib/waitlist";
-import Image from "next/image";
-
-// Force dynamic rendering so waitlist count updates in real-time
-export const dynamic = "force-dynamic";
-
-export default async function Home() {
- const signupCount = await getWaitlistCount();
-
- return (
- <div>
- <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"
- />
- <Header />
- <Hero signupCount={signupCount} />
- </div>
- );
-}
+import { Hero } from "@/components/landing/hero"; +import { Header } from "@/components/header"; +import { Footer } from "@/components/footer"; +import { getWaitlistCount } from "@/lib/waitlist"; +import Image from "next/image"; + +// Force dynamic rendering so waitlist count updates in real-time +export const dynamic = "force-dynamic"; + +export default async function Home() { + const signupCount = await getWaitlistCount(); + + return ( + <div> + <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" + /> + <Header /> + <Hero signupCount={signupCount} /> + <Footer /> + </div> + ); +} |
