Skip to content

Commit

Permalink
fixed register route module not found
Browse files Browse the repository at this point in the history
  • Loading branch information
Prudent Bird committed Jul 25, 2024
1 parent 0c9f02f commit 8fd285b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
File renamed without changes
12 changes: 4 additions & 8 deletions src/app/(auth-routes)/register/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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, {
Expand Down Expand Up @@ -53,14 +55,8 @@ const SignUp = () => {
</p>
</div>
<div className="flex justify-center gap-4 p-4">
<AuthProvider
title="Sign in with Google"
icon="/public/images/google.png"
/>
<AuthProvider
title="Sign in with Google"
icon="/public/images/google.png"
/>
<AuthProvider title="Sign in with Google" icon={Google} />
<AuthProvider title="Sign in with Facebook" icon={Facebook} />
</div>
<div className="mx-auto w-2/4">
<Form {...form}>
Expand Down
2 changes: 0 additions & 2 deletions src/components/layouts/navbar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ const navlinks = [
const Navbar = ({ is_auth_path = false }: { is_auth_path?: boolean }) => {
const [scrolling, setIsScrolling] = useState<boolean>(false);

//

const handleScrollEvent = () => {
if (window.scrollY > 1) {
setIsScrolling(true);
Expand Down

0 comments on commit 8fd285b

Please sign in to comment.