diff --git a/anwendung/src/components/Login.jsx b/anwendung/src/components/Login.jsx index caae57d..d558d0c 100644 --- a/anwendung/src/components/Login.jsx +++ b/anwendung/src/components/Login.jsx @@ -40,7 +40,8 @@ export default function Login() { const [inputUserName, setInputUserName] = useState("") const [inputPassword, setInputPassword] = useState("") - const [hint, setHint] = useState("type here") + const [hint, setHint] = useState("Benutzername") + const [hint2, setHint2] = useState("Passwort") const [backgroundColor, setBackgroundColor] = useState("rgb(255, 255, 255)") const router = useRouter() @@ -51,17 +52,16 @@ export default function Login() {

Login

-
-

Username

+

Benutzername:

setInputUserName(e.target.value.toLowerCase())} placeholder={hint} className="input input-bordered input-sm w-full max-w-xs box-shadow" style={{ backgroundColor: backgroundColor }}/>
-

Password

+

Passwort:

setInputPassword(e.target.value)} - placeholder={hint} className="input input-bordered input-sm w-full max-w-xs box-shadow" + placeholder={hint2} className="input input-bordered input-sm w-full max-w-xs box-shadow" style={{ backgroundColor: backgroundColor }}/> diff --git a/anwendung/src/styles/globals.css b/anwendung/src/styles/globals.css index 579689f..2697678 100644 --- a/anwendung/src/styles/globals.css +++ b/anwendung/src/styles/globals.css @@ -434,7 +434,6 @@ Login flex-direction: column; align-items: center; justify-content: space-evenly; - /*gap: 10px;*/ border-radius: 10px; background-color: rgba(255, 255, 255, 0.5); width: 375px;