From 8fd285be03e1c5094e07f1d24ea7d4069a3e3075 Mon Sep 17 00:00:00 2001 From: Prudent Bird Date: Thu, 25 Jul 2024 12:52:19 +0100 Subject: [PATCH] fixed register route module not found --- public/images/{goggle.svg => google.svg} | 0 src/app/(auth-routes)/register/page.tsx | 12 ++++-------- src/components/layouts/navbar/index.tsx | 2 -- 3 files changed, 4 insertions(+), 10 deletions(-) rename public/images/{goggle.svg => google.svg} (100%) diff --git a/public/images/goggle.svg b/public/images/google.svg similarity index 100% rename from public/images/goggle.svg rename to public/images/google.svg diff --git a/src/app/(auth-routes)/register/page.tsx b/src/app/(auth-routes)/register/page.tsx index ce3b5aa33..5d50ba109 100644 --- a/src/app/(auth-routes)/register/page.tsx +++ b/src/app/(auth-routes)/register/page.tsx @@ -23,6 +23,8 @@ import { InputOTPGroup, InputOTPSlot, } from "~/components/ui/input-otp"; +import Google from "../../../../public/images/google.svg"; +import Facebook from "../../../../public/images/facebook.svg"; const formSchema = z.object({ fullname: z.string().min(2, { @@ -53,14 +55,8 @@ const SignUp = () => {

- - + +
diff --git a/src/components/layouts/navbar/index.tsx b/src/components/layouts/navbar/index.tsx index 37337b742..352c464dd 100644 --- a/src/components/layouts/navbar/index.tsx +++ b/src/components/layouts/navbar/index.tsx @@ -15,8 +15,6 @@ const navlinks = [ const Navbar = ({ is_auth_path = false }: { is_auth_path?: boolean }) => { const [scrolling, setIsScrolling] = useState(false); - // - const handleScrollEvent = () => { if (window.scrollY > 1) { setIsScrolling(true);