diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 2c28dcb..083614a 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -8,6 +8,7 @@ import Coordinator from './views/coordinator/Coordinator' import Groups from './views/coordinator/Groups' import Leaders from './views/coordinator/Leaders' import Students from './views/coordinator/Students' +import Login from './views/Login' const queryClient = new QueryClient({ defaultOptions: { @@ -22,7 +23,8 @@ function App() {
- } /> + } /> + } /> }> } /> } /> diff --git a/frontend/src/views/Login.tsx b/frontend/src/views/Login.tsx new file mode 100644 index 0000000..52c941f --- /dev/null +++ b/frontend/src/views/Login.tsx @@ -0,0 +1,47 @@ +import { useEffect } from 'react' +import { Outlet, useNavigate } from 'react-router-dom' +import { NavLink } from 'react-router-dom' + +const Login = () => { + const navigate = useNavigate() + +// useEffect(() => { +// navigate('/coordinator/students') +// // eslint-disable-next-line react-hooks/exhaustive-deps +// }, []) + + return ( + <> +
+

System PRI

+
+
+
+ + +
+
+ + +
+ navigate('/coordinator/students')} className="cursor-pointer">Koordynator + Opiekun + Student +
+ + ) +} + +export default Login