From 2d1a4b590b806c6e3c01cdfa208a449a9cfbdce8 Mon Sep 17 00:00:00 2001 From: Ilay Eble Date: Wed, 11 Jun 2025 16:05:07 +0200 Subject: [PATCH] Fixed link Login/Signup, cursor on button --- code/frontend/src/App.tsx | 13 ++++++++++--- code/frontend/src/LoginAndSignUpPage.tsx | 4 ++-- code/frontend/src/loginAndSignUpPage.css | 16 +++++++++++----- 3 files changed, 23 insertions(+), 10 deletions(-) diff --git a/code/frontend/src/App.tsx b/code/frontend/src/App.tsx index bb4ba15..917c5d6 100644 --- a/code/frontend/src/App.tsx +++ b/code/frontend/src/App.tsx @@ -1,9 +1,16 @@ -import LoginSignUpPage from './LoginAndSignUpPage'; - +import React, { use } from 'react'; +import logo from './logo.svg'; +import './App.css'; +import { useState, useEffect } from 'react'; +import Footer from './Footer'; +import Header from './header'; +import LoginAndSignUpPage from './LoginAndSignUpPage'; function App() { return ( - +
+ +
); } diff --git a/code/frontend/src/LoginAndSignUpPage.tsx b/code/frontend/src/LoginAndSignUpPage.tsx index 2e9bc95..1c2902b 100644 --- a/code/frontend/src/LoginAndSignUpPage.tsx +++ b/code/frontend/src/LoginAndSignUpPage.tsx @@ -10,7 +10,7 @@ function LoginAndSignUpPage(){ const [signup, setSignup]= useState(false); return(
-
+
@@ -33,7 +33,7 @@ function LoginAndSignUpPage(){
-
{signup? "Already have an account?": "Don't have an account yet?"} Click {signup? "login": "to sign up"}
+
{signup? "Already have an account?": "Don't have an account yet?"} Click here {signup? "login": "to sign up"}
diff --git a/code/frontend/src/loginAndSignUpPage.css b/code/frontend/src/loginAndSignUpPage.css index 71c2374..e9790af 100644 --- a/code/frontend/src/loginAndSignUpPage.css +++ b/code/frontend/src/loginAndSignUpPage.css @@ -18,8 +18,7 @@ background: var(--gradient-blue-backround-mobile, linear-gradient(270deg, rgba(20, 15, 86, 0.27) 0%, rgba(20, 15, 86, 0.58) 24%, rgba(20, 15, 86, 0.74) 43%, rgba(17, 13, 71, 0.82) 56%, rgba(13, 10, 56, 0.90) 68%), url('../public/assets/images/BirdsSky.jpg') lightgray 50% / cover no-repeat); align-items: center; justify-content: center; - min-width: 300px; - min-height: 400px; + } .login-text{ @@ -55,6 +54,7 @@ gap: 10px; width: 150px; height: 32px; + cursor: pointer; border-radius: 10px; border: 2px solid var(--Rotkehlchen-orange-default); @@ -107,11 +107,12 @@ line-height: var(--Static-Body-Large-Line-Height, 24px); /* 150% */ letter-spacing: var(--Static-Body-Large-Tracking, 0.5px); } -.login-link{ +.login-here{ color: var(--Rotkehlchen-orange-default, #E79A0E); background-color: transparent; border: none; text-decoration: underline; + cursor: pointer; /* Body-M */ font-family: Inter; font-size: 16px; @@ -124,6 +125,7 @@ .login-signup{ color: #FFF; text-align: center; + cursor: pointer; /* Body-M */ font-family: Inter; @@ -145,6 +147,10 @@ /* Desktop view*/ @media only screen and (min-width: 768px) { + .login-display{ + min-width: 850px; + min-height: 800px; + } .login-login{ display: flex; flex-direction: row; @@ -155,8 +161,8 @@ justify-content: start; width: 50vw; height: 60vh; - min-height: 300px; - min-width: 400px; + min-height: 400px; + min-width: 500px; } .login-image{