diff --git a/frontend/App.tsx b/frontend/App.tsx
index 0854e2d..74524c7 100644
--- a/frontend/App.tsx
+++ b/frontend/App.tsx
@@ -8,11 +8,11 @@ import React from 'react';
export default function App() {
return (
-
-
+
+
-
-
+
+
);
}
diff --git a/frontend/views/LoginView.tsx b/frontend/views/LoginView.tsx
index f061c08..bdeb91d 100644
--- a/frontend/views/LoginView.tsx
+++ b/frontend/views/LoginView.tsx
@@ -1,6 +1,6 @@
import {useAuth} from "Frontend/util/auth";
import {useState} from "react";
-import {useNavigate} from "react-router-dom";
+import {Link, useNavigate} from "react-router-dom";
import {Button, Card, Input, Typography} from "@material-tailwind/react";
export default function LoginView() {
@@ -40,13 +40,19 @@ export default function LoginView() {
}
}}
>
-
- Username
-
+
{
setUsername(event.target.value);
}}
+ id="username"
+ type="text"
+ autoComplete="username"
+ placeholder=""
size="lg"
className=" !border-t-blue-gray-200 focus:!border-t-gray-900"
labelProps={{
@@ -54,14 +60,19 @@ export default function LoginView() {
}}
crossOrigin="" //TODO: see https://github.com/creativetimofficial/material-tailwind/issues/427
/>
-
- Password
-
+
{
setPassword(event.target.value);
}}
+ id="current-password"
type="password"
+ autoComplete="current-password"
+ placeholder=""
size="lg"
className=" !border-t-blue-gray-200 focus:!border-t-gray-900"
labelProps={{
@@ -69,12 +80,16 @@ export default function LoginView() {
}}
crossOrigin="" //TODO: see https://github.com/creativetimofficial/material-tailwind/issues/427
/>
-
+
+ Forgot password?
+
+