diff --git a/app/(auth)/loading.tsx b/app/(auth)/loading.tsx index f9c3000..fb1120b 100644 --- a/app/(auth)/loading.tsx +++ b/app/(auth)/loading.tsx @@ -1,5 +1,18 @@ -import Loader from "@/components/Loader"; +import Loader2 from "@/components/Loader2"; +import { CardWrapper } from "@/components/auth/card-wrapper"; export default function Loading() { - return ; + return ( + <> + +
+ +
+
+ + ); } diff --git a/components/Loader2.tsx b/components/Loader2.tsx index 0d778c8..46c2a95 100644 --- a/components/Loader2.tsx +++ b/components/Loader2.tsx @@ -1,6 +1,6 @@ const Loader2 = ({ size }: { size?: number }) => { return ( -
+
{size ? ( {children} {showSocial && ( - - - + <> +
+
+
OR
+
+
+ + + + )} diff --git a/components/auth/login-form.tsx b/components/auth/login-form.tsx index 14fd952..068e4ab 100644 --- a/components/auth/login-form.tsx +++ b/components/auth/login-form.tsx @@ -75,7 +75,7 @@ export const LoginForm = () => { headerLabel="Welcome back" backButtonLabel="Don't have an account?" backButtonHref="/register" - showSocial + // showSocial >
@@ -189,11 +189,11 @@ export const LoginForm = () => { -
+ {/*
OR
-
+
*/}
diff --git a/components/auth/register-form.tsx b/components/auth/register-form.tsx index c3dc590..1d6e4ce 100644 --- a/components/auth/register-form.tsx +++ b/components/auth/register-form.tsx @@ -56,7 +56,7 @@ export const RegisterForm = () => { headerLabel="Create an account" backButtonLabel="Already have an account?" backButtonHref="/login" - showSocial + // showSocial >
@@ -120,11 +120,11 @@ export const RegisterForm = () => { -
+ {/*
OR
-
+
*/}