diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..3eff819
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+```
+*.backup
+```
\ No newline at end of file
diff --git a/FrontEnd/src/components/Login-SignUp/ActionPanel.jsx b/FrontEnd/src/components/Login-SignUp/ActionPanel.jsx
index 493b477..086b123 100644
--- a/FrontEnd/src/components/Login-SignUp/ActionPanel.jsx
+++ b/FrontEnd/src/components/Login-SignUp/ActionPanel.jsx
@@ -1,18 +1,27 @@
import style from "./Login.module.css";
-const ActionPanel = ({ signIn, slide,verifyOTP }) => {
- const heading = verifyOTP?"Verify OTP":signIn ? "Hello friend!" : "Welcome back!";
- const paragraph = verifyOTP?"Enter Your Email and Get Otp on mail id and enter otp for reset your password":signIn
- ? "Enter your personal details and start your journey with us"
- : "To keep connected with us please login with your personal info";
- const button = signIn ? "Sign up!" : "Sign in!";
+const ActionPanel = ({ signIn, slide, verifyOTP }) => {
+ const heading = verifyOTP ? "Verify OTP" : signIn ? "Hello, Friend!" : "Welcome Back!";
+ const paragraph = verifyOTP
+ ? "Enter the OTP sent to your email to verify your account."
+ : signIn
+ ? "Start your journey with us today!"
+ : "Welcome back! Sign in to continue.";
+ const button = signIn ? "Sign Up" : "Sign In";
return (
-
-
{heading}
-
{paragraph}
- {!verifyOTP&&
}
+ {heading}
+ {paragraph}
+ {!verifyOTP && (
+
+ )}
+
);
};
diff --git a/FrontEnd/src/components/Login-SignUp/FormPanel.css b/FrontEnd/src/components/Login-SignUp/FormPanel.css
deleted file mode 100644
index 68d4df8..0000000
--- a/FrontEnd/src/components/Login-SignUp/FormPanel.css
+++ /dev/null
@@ -1,112 +0,0 @@
-/* expand the first half to cover twice the space of the second half */
-.FormPanel {
- flex-grow: 2;
- /* remove the border radius for the corners matching the container */
- border-radius: inherit;
- border-top-right-radius: 0;
- border-bottom-right-radius: 0;
-
- }
- .FormPanel button {
- background: var(--theme);
- color: var(--theme-two);
- }
- @media (max-width: 650px) {
- .FormPanel {
- border-radius: 0;
- }
- }
- .Panel {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- line-height: 2;
- position: relative;
- /* ooverflow hidden to avoid janky horizontal scroll as the child elements are transitioned into view */
- overflow-x: hidden;
-
- }
- /* styles shared by the halves' elements */
- .Panel h2 {
- font-size: 1.9rem;
- text-transform: capitalize;
- margin-bottom: 1rem;
- }
- .Panel p {
- margin: 1rem 0;
- max-width: 25ch;
- font-size: 0.95rem;
- line-height: 1.5;
- font-weight: 300;
- text-align: center;
- }
- .Panel Link, .Panel button {
- color: inherit;
- font-family: inherit;
- }
- .Panel Link {
- text-decoration: none;
- margin: 1rem 1rem;
- }
- /* style the anchor links nesting the social platforms in a circle */
- .Panel .Social Link {
- display: inline-block;
- font-weight: 900;
- width: 50px;
- height: 50px;
- text-align: center;
- line-height: 50px;
- border-radius: 50%;
- border: 1px solid currentColor;
- }
- /* on hover and on focus switch the color of the links making up the social icons */
- .Panel .Social a:hover,
- .Panel .Social a:focus {
- background: var(--text);
- color: var(--theme-two);
- }
- /* include a semi-transparent border at the bottom of the anchor link elements which are direct children of the parent
- this excludes the social icons */
- .Panel > Link {
- position: relative;
- }
- .Panel > Link:after {
- content: '';
- position: absolute;
- width: 100%;
- bottom: 0;
- left: 0;
- border-bottom: 1px dashed currentColor;
- opacity: 0.4;
- }
- /* display the input elements atop one another */
- .Panel form {
- display: flex;
- flex-direction: column;
- }
- /* widen the input elements to cover a sizeable portion of the panel */
- .Panel form input {
- margin: 0.5rem 0;
- width: 200px;
- padding: 1rem 0.75rem;
- background: var(--bg);
- border: none;
- color: inherit;
- font-family: inherit;
- }
- .Panel form input::placeholder {
- opacity: 0.8;
- }
- /* style the buttons to sign in/sign up to have considerable white space _around_ the text */
- .Panel button {
- background: none;
- border: 1px solid currentColor;
- border-radius: 50px;
- padding: 0.85rem 2.75rem;
- margin: 2rem 0;
- text-transform: uppercase;
- font-size: 0.8rem;
- letter-spacing: 0.1rem;
- }
-
\ No newline at end of file
diff --git a/FrontEnd/src/components/Login-SignUp/FormPanel.jsx b/FrontEnd/src/components/Login-SignUp/FormPanel.jsx
index e6ef04c..aa631d8 100644
--- a/FrontEnd/src/components/Login-SignUp/FormPanel.jsx
+++ b/FrontEnd/src/components/Login-SignUp/FormPanel.jsx
@@ -124,15 +124,15 @@ const FormPanel = ({ signIn, setSignIn, verifyOTP, setVerifyOTP }) => {
return (
-
{heading}
+
{heading}
- {errorMessage &&
{errorMessage}
}
+ {errorMessage &&
{errorMessage}
}
{verifyOTP ? (
-
+
) : (
<>
-
-
- Forgot your password?
-
-