diff --git a/staff/jose-canto/socialcode/app/components/library/FormWithFeedback.css b/staff/jose-canto/socialcode/app/components/library/FormWithFeedback.css index 2d44389bf..77a62c9cf 100644 --- a/staff/jose-canto/socialcode/app/components/library/FormWithFeedback.css +++ b/staff/jose-canto/socialcode/app/components/library/FormWithFeedback.css @@ -10,8 +10,4 @@ .FormWithFeedback { color: greenyellow; -} - -.RegisterForm .FormWithFeedback { - top: 50rem; } \ No newline at end of file diff --git a/staff/jose-canto/socialcode/app/login/LoginComponent.css b/staff/jose-canto/socialcode/app/login/LoginComponent.css index 9479242bb..5f220515f 100644 --- a/staff/jose-canto/socialcode/app/login/LoginComponent.css +++ b/staff/jose-canto/socialcode/app/login/LoginComponent.css @@ -7,4 +7,9 @@ height: 200px; background-image: linear-gradient(to right top, #f97c16, #d25a2c, #a54031, #742c2e, #441c22, #2f161b, #1c0e11, #1b1b1b, #1b1b1b, #1b1b1b, #000000, #000000); letter-spacing: 2px; +} + +.LoginForm p { + position: absolute; + top: 40rem; } \ No newline at end of file diff --git a/staff/jose-canto/socialcode/app/login/index.js b/staff/jose-canto/socialcode/app/login/index.js index 45da58a8e..7feaeced8 100644 --- a/staff/jose-canto/socialcode/app/login/index.js +++ b/staff/jose-canto/socialcode/app/login/index.js @@ -22,8 +22,6 @@ loginForm.onSubmit(event => { loginForm.clear() - loginForm.setFeedback("User logged in ✅", "success") - setTimeout(() => { location.href = '../home' }, 1000) diff --git a/staff/jose-canto/socialcode/app/register/RegisterComponent.css b/staff/jose-canto/socialcode/app/register/RegisterComponent.css index 5bfc0d19e..6cd868e90 100644 --- a/staff/jose-canto/socialcode/app/register/RegisterComponent.css +++ b/staff/jose-canto/socialcode/app/register/RegisterComponent.css @@ -7,4 +7,9 @@ height: 30rem; background-image: linear-gradient(to right top, #f97c16, #d25a2c, #a54031, #742c2e, #441c22, #2f161b, #1c0e11, #1b1b1b, #1b1b1b, #1b1b1b, #000000, #000000); letter-spacing: 2px; +} + +.RegisterForm p { + position: absolute; + top: 49rem } \ No newline at end of file diff --git a/staff/jose-canto/socialcode/app/register/index.js b/staff/jose-canto/socialcode/app/register/index.js index e71115f5d..51ed2907e 100644 --- a/staff/jose-canto/socialcode/app/register/index.js +++ b/staff/jose-canto/socialcode/app/register/index.js @@ -31,8 +31,6 @@ registerForm.onSubmit(event => { registerForm.clear() - registerForm.setFeedback("User registered ✅", "success") - setTimeout(() => location.href = '../login', 1000) } catch (error) { @@ -49,7 +47,7 @@ registerForm.onSubmit(event => { } else { registerForm.setFeedback("❌ Sorry, ther was an error, please try again later ❌") } - setTimeout(() => registerForm.clearFeedback(), 2000) + //setTimeout(() => registerForm.clearFeedback(), 2000) } })