add new design (#70)
* add new design stuff * add more ui things * add more ui changes * more ui changes * add more design * update emoji
This commit is contained in:
16
apps/web/src/app/signup/page.tsx
Normal file
16
apps/web/src/app/signup/page.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import { redirect } from "next/navigation";
|
||||
import { getServerAuthSession } from "~/server/auth";
|
||||
import LoginPage from "../login/login-page";
|
||||
import { getProviders } from "next-auth/react";
|
||||
|
||||
export default async function Login() {
|
||||
const session = await getServerAuthSession();
|
||||
|
||||
if (session) {
|
||||
redirect("/dashboard");
|
||||
}
|
||||
|
||||
const providers = await getProviders();
|
||||
|
||||
return <LoginPage providers={Object.values(providers ?? {})} isSignup />;
|
||||
}
|
Reference in New Issue
Block a user