From 407d70d4629b5b470baa730961128c2d5cd0c3ee Mon Sep 17 00:00:00 2001 From: Arik Chakma Date: Thu, 30 Mar 2023 04:37:39 +0600 Subject: [PATCH] chore: auth divider --- src/components/Login/LoginComponent.tsx | 22 +++++++++++++++------- src/pages/signup.astro | 10 +++------- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/src/components/Login/LoginComponent.tsx b/src/components/Login/LoginComponent.tsx index 1910c4146..04fd93ed5 100644 --- a/src/components/Login/LoginComponent.tsx +++ b/src/components/Login/LoginComponent.tsx @@ -17,13 +17,9 @@ export default function LoginComponent() { -
-
- OR -
-
+ - +
Don't have an account?{' '} @@ -35,6 +31,18 @@ export default function LoginComponent() { ); } +export const Divider: FunctionComponent<{ className?: string }> = ({ + className, +}) => { + return ( +
+
+ OR +
+
+ ); +}; + export const GithubLoginButton: FunctionComponent<{ className?: string }> = ({ className, }) => { @@ -69,7 +77,7 @@ export const GoogleLoginButton: FunctionComponent<{ className?: string }> = ({ ); }; -export const EmailLoginButton: FunctionComponent<{}> = () => { +export const EmailLoginForm: FunctionComponent<{}> = () => { return (
-
-
- OR -
-
+ - +