mirror of
https://github.com/CaramelFur/Picsur.git
synced 2026-02-26 08:00:46 +01:00
add login router
This commit is contained in:
3
frontend/src/routes/login/login.tsx
Normal file
3
frontend/src/routes/login/login.tsx
Normal file
@@ -0,0 +1,3 @@
|
||||
export default function LoginView() {
|
||||
return <p>login</p>;
|
||||
}
|
||||
@@ -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 (
|
||||
<Routes>
|
||||
<Route path="/" element={<UploadView />} />
|
||||
<Route path="login" element={<LoginView />} />
|
||||
<Route path="processing" element={<ProcessingView />} />
|
||||
<Route path="view/:hash" element={<ViewView />} />
|
||||
</Routes>
|
||||
|
||||
Reference in New Issue
Block a user