working on possible form to db instead of email notifications

This commit is contained in:
Jacob Delgado 2024-08-20 00:45:57 -07:00
parent 90fd8a0d73
commit c3d6192145

View File

@ -21,6 +21,22 @@ export default function Home() {
setShowPortal(!showPortal);
};
// const registerUser = async () => {
// console.log(email, password);
// try {
// const res = await httpAxios.post("http://127.0.0.1:5080/register", {
// email,
// password,
// });
// console.log(res)
// router.push("/LandingPage")
// } catch (error: any) {
// if (error.response.status === 401) {
// alert("Invalid Credentials");
// }
// }
// };
return (
<main className="flex min-h-screen flex-col px-20 bg-[#F5F5F5">
{/* Title */}