diff --git a/frontend/src/LoginForm.css b/frontend/src/LoginForm.css index 378bb74..3272372 100644 --- a/frontend/src/LoginForm.css +++ b/frontend/src/LoginForm.css @@ -18,7 +18,8 @@ body{ display: flex; justify-content: center; align-items: center; - min-height: 110vh; + min-height: 80vh; + border-radius: 4%; background: rgba(39, 39, 39, 0.5); } @@ -68,6 +69,15 @@ body{ transition: .5s ease-in-out; gap: 7px; } +.password-container{ + position: absolute; + right: -520px; + width: 500px; + display: flex; + flex-direction: column; + transition: .5s ease-in-out; + gap: 7px; +} .top span{ color: #fff; font-size: small; @@ -75,11 +85,21 @@ body{ display: flex; justify-content: center; } +.two span a{ + font-weight: 500; + color: #fff; + margin-left: 5px; +} .top span a{ font-weight: 500; color: #fff; margin-left: 5px; } +.top2 span a{ + font-weight: 500; + color: #fff; + margin-left: 5px; +} header{ color: #fff; font-size: 30px; @@ -138,6 +158,7 @@ header{ font-size: small; margin-top: 10px; margin-bottom: 10px; + margin-left: 10px; } .two-col .one{ display: flex; diff --git a/frontend/src/LoginForm.jsx b/frontend/src/LoginForm.jsx index 2a5e91f..dde21fe 100644 --- a/frontend/src/LoginForm.jsx +++ b/frontend/src/LoginForm.jsx @@ -3,13 +3,24 @@ import './LoginForm.css'; function LoginForm() { const [loginVisible, setLoginVisible] = useState(true); - + const [registerVisible, setRegisterVisible] = useState(false); + const [passwordVisible, setPasswordVisible] = useState(false); const toggleLogin = () => { setLoginVisible(true); + setRegisterVisible(false); + setPasswordVisible(false); }; const toggleRegister = () => { + setRegisterVisible(true); setLoginVisible(false); + setPasswordVisible(false); + }; + + const toggleRecuperar = () => { + setPasswordVisible(true); + setLoginVisible(false); + setRegisterVisible(false); }; return ( @@ -40,12 +51,12 @@ function LoginForm() {
-