added signup and verify email forms

This commit is contained in:
Milo Schwartz
2024-10-12 23:00:36 -04:00
parent 41cbde1474
commit f3eb76fd5e
14 changed files with 882 additions and 11 deletions

View File

@@ -0,0 +1,17 @@
import SignupForm from "@app/components/SignupForm";
import { verifySession } from "@app/lib/verifySession";
import { redirect } from "next/navigation";
export default async function Page() {
const user = await verifySession();
if (user) {
redirect("/");
}
return (
<>
<SignupForm />
</>
);
}