From 39a59e7b9b4cb9518bff15c35c4b4ddb29f06339 Mon Sep 17 00:00:00 2001 From: rubikscraft Date: Mon, 28 Feb 2022 20:04:21 +0100 Subject: [PATCH] add login router --- frontend/src/routes/login/login.tsx | 3 +++ frontend/src/routes/router.tsx | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 frontend/src/routes/login/login.tsx diff --git a/frontend/src/routes/login/login.tsx b/frontend/src/routes/login/login.tsx new file mode 100644 index 0000000..0009369 --- /dev/null +++ b/frontend/src/routes/login/login.tsx @@ -0,0 +1,3 @@ +export default function LoginView() { + return

login

; +} diff --git a/frontend/src/routes/router.tsx b/frontend/src/routes/router.tsx index 4fc4e47..b4c9f2e 100644 --- a/frontend/src/routes/router.tsx +++ b/frontend/src/routes/router.tsx @@ -1,4 +1,5 @@ import { Routes, Route } from 'react-router-dom'; +import LoginView from './login/login'; import ProcessingView from './processing/processing'; import UploadView from './upload/upload'; import ViewView from './view/view'; @@ -7,6 +8,7 @@ export default function AppRouter() { return ( } /> + } /> } /> } />