added frontend + securing beta server invites
This commit is contained in:
18
web/app/page.tsx
Normal file
18
web/app/page.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
import Background from "@/components/Background";
|
||||
import Hero from "@/components/Hero";
|
||||
import Features from "@/components/Features";
|
||||
import Footer from "@/components/Footer";
|
||||
import { auth } from "@/auth";
|
||||
import { LoginButton } from "@/components/LoginButton";
|
||||
|
||||
export default async function Home() {
|
||||
const session = await auth();
|
||||
return (
|
||||
<main className="relative min-h-screen text-white">
|
||||
<Background />
|
||||
<Hero authButton={<LoginButton session={session} />} />
|
||||
<Features />
|
||||
<Footer />
|
||||
</main>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user