2023-07-12 13:26:34 -05:00
|
|
|
import { signIn } from "next-auth/react";
|
|
|
|
import React from "react";
|
|
|
|
|
2023-07-12 15:34:05 -05:00
|
|
|
export default function EmailConfirmaion() {
|
2023-07-12 13:26:34 -05:00
|
|
|
return (
|
|
|
|
<div className="overflow-y-auto py-2 fixed top-0 bottom-0 right-0 left-0 bg-gray-500 bg-opacity-10 backdrop-blur-sm flex items-center fade-in z-30">
|
2023-07-12 15:34:05 -05:00
|
|
|
<div className="mx-auto p-3 text-center rounded-xl border border-sky-100 shadow-lg bg-gray-100 text-sky-800">
|
2023-07-12 13:26:34 -05:00
|
|
|
<p className="text-center text-2xl mb-2">Please check your email</p>
|
|
|
|
<p>A sign in link has been sent to your email address.</p>
|
2023-07-12 15:34:05 -05:00
|
|
|
<p>You can safely close this page.</p>
|
|
|
|
{/* <div
|
2023-07-12 13:26:34 -05:00
|
|
|
onClick={() =>
|
|
|
|
signIn("email", {
|
2023-07-12 15:34:05 -05:00
|
|
|
email: email,
|
2023-07-12 13:26:34 -05:00
|
|
|
redirect: false,
|
|
|
|
})
|
|
|
|
}
|
|
|
|
className="mx-auto font-semibold mt-2 cursor-pointer w-fit"
|
|
|
|
>
|
|
|
|
Resend?
|
2023-07-12 15:34:05 -05:00
|
|
|
</div> */}
|
2023-07-12 13:26:34 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|