2021-07-10 22:40:27 +00:00
|
|
|
import React from "react";
|
2021-05-27 01:07:54 +00:00
|
|
|
import Navbar from "./components/Navbar";
|
|
|
|
import "./App.css";
|
|
|
|
import { BrowserRouter as Router, Switch, Route } from "react-router-dom";
|
|
|
|
import Home from "./components/pages/Home";
|
2021-05-27 02:19:22 +00:00
|
|
|
import Ueber from "./components/pages/Ueber";
|
2021-06-07 02:14:00 +00:00
|
|
|
import Lizenzen from "./components/pages/lizenzen";
|
2021-06-07 03:03:18 +00:00
|
|
|
import Privacy from "./components/pages/Privacy";
|
2021-06-21 01:51:15 +00:00
|
|
|
import Login from "./components/pages/Login";
|
2021-06-22 22:15:43 +00:00
|
|
|
import Register from "./components/pages/Register";
|
2021-06-21 03:48:01 +00:00
|
|
|
import Manual from "./components/pages/Manual";
|
2021-06-22 22:15:43 +00:00
|
|
|
import Secret from "./components/pages/Secret";
|
2021-06-23 03:12:01 +00:00
|
|
|
import Umfrage from "./components/pages/Umfrage";
|
2021-06-22 22:15:43 +00:00
|
|
|
import PrivateRoute from "./auth/PrivateRoute";
|
2021-07-11 23:04:50 +00:00
|
|
|
import BehaviorNormal from "./components/pages/BehaviorNormal";
|
2021-05-05 01:08:58 +00:00
|
|
|
|
|
|
|
function App() {
|
2021-05-25 21:40:27 +00:00
|
|
|
return (
|
|
|
|
<>
|
|
|
|
<Router>
|
|
|
|
<Navbar />
|
|
|
|
<Switch>
|
2021-05-27 01:07:54 +00:00
|
|
|
<Route path="/" exact component={Home} />
|
2021-05-27 02:19:22 +00:00
|
|
|
<Route path="/services" component={Ueber} />
|
2021-06-07 02:14:00 +00:00
|
|
|
<Route path="/lizenzen" component={Lizenzen} />
|
2021-06-07 03:03:18 +00:00
|
|
|
<Route path="/privacy" component={Privacy} />
|
2021-06-21 01:51:15 +00:00
|
|
|
<Route path="/login" component={Login} />
|
2021-06-21 03:48:01 +00:00
|
|
|
<Route path="/register" component={Register} />
|
|
|
|
<Route path="/manual" component={Manual} />
|
2021-06-22 22:15:43 +00:00
|
|
|
<Route path="/ueber" component={Ueber} />
|
2021-07-11 23:04:50 +00:00
|
|
|
<PrivateRoute path="/behavior" component={BehaviorNormal} />
|
2021-06-22 22:15:43 +00:00
|
|
|
<PrivateRoute path="/secret" component={Secret} />
|
2021-06-23 03:12:01 +00:00
|
|
|
<PrivateRoute path="/umfrage" component={Umfrage} />
|
2021-05-25 21:40:27 +00:00
|
|
|
</Switch>
|
|
|
|
</Router>
|
|
|
|
</>
|
|
|
|
);
|
2021-05-05 01:08:58 +00:00
|
|
|
}
|
|
|
|
|
2021-05-27 01:07:54 +00:00
|
|
|
export default App;
|