feat : update

This commit is contained in:
2026-10-03 00:56:31 +07:00 Unverified
parent f71c00d2ab
commit f23b69a280
36 changed files with 766 additions and 376 deletions
+15
View File
@@ -0,0 +1,15 @@
import { connection } from "next/server";
import { SiteHeader } from "@/components/public/site-header";
import { RegistrationOtpForm } from "@/components/auth/registration-otp-form";
import { safeAuthReturnPath } from "@/lib/auth/return-path";
export const instant = false;
export default async function CheckEmailPage({ searchParams }: PageProps<"/check-email">) {
await connection();
const { email, next, setup } = await searchParams;
return <div className="min-h-svh"><SiteHeader /><main className="grid min-h-[calc(100svh-4rem)] place-items-center p-4">
<RegistrationOtpForm email={typeof email === "string" ? email : ""}
nextPath={safeAuthReturnPath(next)} setup={setup === "1"} />
</main></div>;
}