From c3d61921455c2910e5db1060e578220ba8a7ec3a Mon Sep 17 00:00:00 2001 From: ImAlpha Date: Tue, 20 Aug 2024 00:45:57 -0700 Subject: [PATCH] working on possible form to db instead of email notifications --- frontend/src/app/page.tsx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/frontend/src/app/page.tsx b/frontend/src/app/page.tsx index e2162d4..62be04c 100644 --- a/frontend/src/app/page.tsx +++ b/frontend/src/app/page.tsx @@ -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 (
{/* Title */}