From 0392e25620cbeee214808ac3394b4bf0c847454b Mon Sep 17 00:00:00 2001 From: Pratiksha Sankhe Date: Mon, 27 Feb 2023 20:25:47 +0530 Subject: [PATCH 1/2] changes in signup and login part --- com-dict-client/src/components/Login/index.js | 13 +- .../src/components/Login/loginForm.js | 11 +- .../src/components/Login/socialLogin.js | 12 +- .../src/components/Signup/SignUp.js | 10 +- .../src/components/Signup/index.js | 11 +- com-dict-client/src/containers/home/arrow.css | 111 +++++++++--------- 6 files changed, 89 insertions(+), 79 deletions(-) diff --git a/com-dict-client/src/components/Login/index.js b/com-dict-client/src/components/Login/index.js index 370d313..b4f448a 100644 --- a/com-dict-client/src/components/Login/index.js +++ b/com-dict-client/src/components/Login/index.js @@ -92,26 +92,29 @@ function App(props) { backgroundColor: "#FFFFFF ", border: 0, padding: "1vmin", - width: "100%", + width: "100%" }} headStyle={{ backgroundColor: "#FFFFFF ", fontSize: "6vmin", color: "#black", border: 0, - textAlign: "center", + textAlign: "left", + paddingLeft: "28%" + }} bodyStyle={{ backgroundColor: "#FFFFFF", border: 0 }} > - - +
+ +
OR
- Don't have an account? + Don't have an account?  Sign Up here
diff --git a/com-dict-client/src/components/Login/loginForm.js b/com-dict-client/src/components/Login/loginForm.js index aa8be62..e20bebe 100644 --- a/com-dict-client/src/components/Login/loginForm.js +++ b/com-dict-client/src/components/Login/loginForm.js @@ -23,9 +23,11 @@ const NormalLoginForm = () => { remember: true, }} onFinish={onSubmit} + style={{width: '80%',margin:' 0 10%'}} > { { placeholder="Password" /> - + Remember me - + Forgot password - - diff --git a/com-dict-client/src/components/Login/socialLogin.js b/com-dict-client/src/components/Login/socialLogin.js index c77d20e..54b9976 100644 --- a/com-dict-client/src/components/Login/socialLogin.js +++ b/com-dict-client/src/components/Login/socialLogin.js @@ -24,9 +24,9 @@ function SocialLogin() { await signInWithProviderID(provider)(firebase, history); }; return ( -
+
- + Login using your social media account @@ -38,11 +38,11 @@ function SocialLogin() { md={24} sm={24} xs={24} - style={{ textAlign: "center" }} + style={{ textAlign: "center"}} > diff --git a/com-dict-client/src/components/Signup/index.js b/com-dict-client/src/components/Signup/index.js index 917dc0b..05215e5 100644 --- a/com-dict-client/src/components/Signup/index.js +++ b/com-dict-client/src/components/Signup/index.js @@ -50,7 +50,7 @@ const formItemLayout = { span: 16, }, lg: { - span: 18, + span: 2, }, }, }; @@ -96,16 +96,16 @@ const RegistrationForm = () => { - + - + signup - +
{ { }, ]} > - + Date: Mon, 27 Feb 2023 20:28:08 +0530 Subject: [PATCH 2/2] minor change --- com-dict-client/src/containers/home/arrow.css | 20 +++++++++---------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/com-dict-client/src/containers/home/arrow.css b/com-dict-client/src/containers/home/arrow.css index bc1373a..cfe3b23 100644 --- a/com-dict-client/src/containers/home/arrow.css +++ b/com-dict-client/src/containers/home/arrow.css @@ -3,29 +3,28 @@ width: 12vmin; height: 12vmin; transform: translate(-50%, -50%); - padding-right: 30%; } .arrows:before { - content: ""; + content: ''; position: absolute; margin-top: 10vmin; width: 100%; height: 100%; - border-left: 6.66667px solid rgba(0, 0, 0, 0.7); - border-bottom: 6.66667px solid rgba(0, 0, 0, 0.7); + border-left: 26.66667px solid rgba(0, 0, 0, 0.7); + border-bottom: 26.66667px solid rgba(0, 0, 0, 0.7); transform: translate(26.66667px, 106.66667px) rotate(-45deg); animation: arrows 2s linear infinite; } .arrows:after { - content: ""; + content: ''; position: absolute; margin-top: 10vmin; width: 100%; height: 100%; - border-left: 16.66667px solid rgba(0, 0, 0, 0.7); - border-bottom: 16.66667px solid rgba(0, 0, 0, 0.7); + border-left: 26.66667px solid rgba(0, 0, 0, 0.7); + border-bottom: 26.66667px solid rgba(0, 0, 0, 0.7); transform: translate(53.33333px, 0px) rotate(-45deg); animation: arrows 2s linear infinite -1s; } @@ -36,8 +35,7 @@ border-bottom: 26.66667px solid transparent; transform: translate(-13.33333px, -53.33333px) rotate(-45deg); } - 10%, - 90% { + 10%, 90% { border-left: 26.66667px solid transparent; border-bottom: 26.66667px solid transparent; } @@ -59,6 +57,6 @@ line-height: 2vmin; width: 40vmin; /* display:block; */ - transform: rotate(-90deg); - transform: rotate(-90deg); + transform: rotate(-90deg); + transform: rotate(-90deg); }