This commit is contained in:
19
05_react/uebungen/u17_validator/src/App.jsx
Normal file
19
05_react/uebungen/u17_validator/src/App.jsx
Normal file
@@ -0,0 +1,19 @@
|
||||
import { Navigate } from 'react-router-dom';
|
||||
import Router from './routes/Router';
|
||||
|
||||
// components
|
||||
import Navbar from './components/navs/Navbar';
|
||||
|
||||
function App() {
|
||||
return (
|
||||
<>
|
||||
<Navbar />
|
||||
<Navigate to="/contact" />
|
||||
<main id="main">
|
||||
<Router />
|
||||
</main>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
export default App;
|
||||
Reference in New Issue
Block a user