From 80a3a4578bb3223b1fe2f82d360a517b6aa1be5a Mon Sep 17 00:00:00 2001 From: Ebube Date: Fri, 28 Apr 2023 16:40:44 +0100 Subject: [PATCH 1/2] Added missed component --- src/components/AuthPages/AuthLayout.jsx | 29 +++++++++++++++++++---- src/components/AuthPages/SignUp/index.jsx | 23 +++++++++++++++++- 2 files changed, 47 insertions(+), 5 deletions(-) diff --git a/src/components/AuthPages/AuthLayout.jsx b/src/components/AuthPages/AuthLayout.jsx index 3ebd286..ac35b1c 100644 --- a/src/components/AuthPages/AuthLayout.jsx +++ b/src/components/AuthPages/AuthLayout.jsx @@ -1,4 +1,5 @@ import React from "react"; +import { Link } from "react-router-dom"; import loginThumb from "../../assets/images/auth-thumb.svg"; import logo from "../../assets/images/wrenchboard.png"; //logo-1.svg"; @@ -12,13 +13,33 @@ export default function LoginLayout({ slogan, children }) { screen = "h-screen"; } return ( -
-
-
- +
+
+
{children && children}
+
+
+ + About + + + Services + + + Contact Us + +
+
+
+

+ © 2023 - {" "} + + WrenchBoard + {" "} +

+
diff --git a/src/components/AuthPages/SignUp/index.jsx b/src/components/AuthPages/SignUp/index.jsx index 8224c6c..bfcdec9 100644 --- a/src/components/AuthPages/SignUp/index.jsx +++ b/src/components/AuthPages/SignUp/index.jsx @@ -106,7 +106,7 @@ export default function SignUp() { setMsgError(null); }, process.env.REACT_APP_SIGNUP_ERROR_TIMEOUT); } - }; + }; useEffect(() => { getCountryList(); @@ -277,6 +277,27 @@ export default function SignUp() {
+
+
+ + About + + + Services + + + Contact Us + +
+
+
+

+ © 2023 - {" "} + + WrenchBoard + {" "} +

+
From 6c8a08719690e0de2f3eaeb6ee20cf649a0f4012 Mon Sep 17 00:00:00 2001 From: Ebube Date: Fri, 28 Apr 2023 16:42:34 +0100 Subject: [PATCH 2/2] removed height checker --- src/components/AuthPages/AuthLayout.jsx | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/components/AuthPages/AuthLayout.jsx b/src/components/AuthPages/AuthLayout.jsx index ac35b1c..43e745a 100644 --- a/src/components/AuthPages/AuthLayout.jsx +++ b/src/components/AuthPages/AuthLayout.jsx @@ -1,17 +1,7 @@ import React from "react"; import { Link } from "react-router-dom"; -import loginThumb from "../../assets/images/auth-thumb.svg"; -import logo from "../../assets/images/wrenchboard.png"; //logo-1.svg"; export default function LoginLayout({ slogan, children }) { - const checkScreenHeight = window.screen.height; - let screen = ""; - if (checkScreenHeight <= 950) { - screen = "h-screen"; - // screen = "h-[950px]"; - } else { - screen = "h-screen"; - } return (