2024-05-16 13:29:41 +00:00
|
|
|
import { getUsers } from "@/drizzle/db";
|
2024-05-16 19:58:14 +00:00
|
|
|
import SignIn from "@/components/SignIn";
|
2024-05-16 21:23:10 +00:00
|
|
|
import { auth } from "@/auth";
|
|
|
|
import { Session } from "next-auth";
|
2024-05-16 11:44:35 +00:00
|
|
|
|
2024-05-16 13:29:41 +00:00
|
|
|
export default async function Home() {
|
|
|
|
const users = await getUsers();
|
2024-05-16 21:23:10 +00:00
|
|
|
const session: Session | null = await auth();
|
2024-05-16 11:44:35 +00:00
|
|
|
return (
|
2024-05-16 13:29:41 +00:00
|
|
|
<main className="bg-black text-white">
|
2024-05-16 21:23:10 +00:00
|
|
|
<SignIn session={session} />
|
2024-05-16 11:44:35 +00:00
|
|
|
</main>
|
|
|
|
);
|
|
|
|
}
|