This repository has been archived on 2026-09-07. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
eco-hack/src/App.js
T
2021-10-03 00:29:43 +02:00

29 lines
711 B
JavaScript

import {
BrowserRouter as Router,
Switch,
Route /*Link*/,
} from "react-router-dom";
import { Home } from "./pages/Home";
import { About } from "./pages/About";
import { Users } from "./pages/Users";
import { NotFound } from "./pages/NotFound";
import Logo from "./components/Logo";
import Popupv2 from "./components/Starter/Popupv2";
export const App = () => {
return (
<Router>
<Logo />
<Switch>
<Popupv2></Popupv2>
<Route exact path="/about" component={About} />
<Route exact path="/users" component={Users} />
<Route exact path="/" component={Home} />
<Route component={NotFound} />
</Switch>
</Router>
);
};
export default App;