titles/app/page.tsx
ChrQR 6f18a4cb48
All checks were successful
Vercel Production Deployment / Deploy-Production (push) Successful in 2m8s
fixed css
2024-05-17 11:31:09 +02:00

19 lines
568 B
TypeScript

import { getUsers } from "@/drizzle/db";
import SignIn from "@/components/SignIn";
import { auth } from "@/auth";
import { Session } from "next-auth";
import { ThemeSwitcher } from "@/components/ThemeSwitcher";
export default async function Home() {
const users = await getUsers();
const session: Session | null = await auth();
return (
<main className="min-h-screen w-full">
<div className="min-h-screen w-full flex flex-col items-center justify-center">
<SignIn session={session} />
<ThemeSwitcher />
</div>
</main>
);
}