
diff --git a/src/Components/Home/HomePage.js b/src/Components/Home/HomePage.js
index 2791d9f..507968c 100644
--- a/src/Components/Home/HomePage.js
+++ b/src/Components/Home/HomePage.js
@@ -12,6 +12,7 @@ import "../../styles/homepage.scss";
const HomePage = () => {
const navigate = useNavigate();
+
const handleNavigate = () => {
navigate("/signup");
};
diff --git a/src/Components/Login/Login.js b/src/Components/Login/Login.js
index 8a438f6..0b0b0a4 100644
--- a/src/Components/Login/Login.js
+++ b/src/Components/Login/Login.js
@@ -6,6 +6,7 @@ import "../../styles/login.scss";
const Login = () => {
const navigate = useNavigate();
+
const auth = getAuth();
const [isBusy, setIsBusy] = useState(false);
const [email, setEmail] = useState("");
diff --git a/src/Components/SignupPage/SignupPage.js b/src/Components/SignupPage/SignupPage.js
index 0282b34..42306c9 100644
--- a/src/Components/SignupPage/SignupPage.js
+++ b/src/Components/SignupPage/SignupPage.js
@@ -1,4 +1,4 @@
-import React, { useState } from "react";
+import React, { useState, useEffect } from "react";
import Col from "react-bootstrap/Col";
import Form from "react-bootstrap/Form";
import Row from "react-bootstrap/Row";
@@ -24,6 +24,9 @@ const SignupPage = () => {
const navigate = useNavigate();
const [notice, setNotice] = useState("");
const [isMobile, setIsMobile] = useState(window.innerWidth < 440);
+ useEffect(() => {
+ setIsMobile(window.innerWidth < 440);
+ });
const fieldsChunkSize = 2;
const [isBusy, setIsBusy] = useState(false);
const [data, setData] = useState(getFormDataDefaults(signupfields));
diff --git a/src/styles/features.scss b/src/styles/features.scss
index e9f899a..2d2dc02 100644
--- a/src/styles/features.scss
+++ b/src/styles/features.scss
@@ -47,8 +47,13 @@
.features-bottom-left {
display: flex;
flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ margin: auto;
padding: 6px 8px;
width: 50%;
+ background-color: var(--haq-blue);
+ border-radius: 15px;
height: 100%;
}
@@ -58,8 +63,6 @@
padding: 18px 8px;
width: 50%;
height: 100%;
- background-color: var(--haq-blue);
- border-radius: 15px;
}
.features-image-one {
@@ -89,6 +92,8 @@
.features-top-wrapper {
flex-direction: column;
+ height: 468px;
+ margin-bottom: 12px;
}
.features-bottom-wrapper {