-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
35 lines (32 loc) · 839 Bytes
/
App.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import react from "react";
import { Navbar } from "./navbar/navbar";
import { HomePage } from "./pages/home";
import { BrowserRouter as Router, Route, Switch } from "react-router-dom";
import Package from "./pages/Package";
import Experinces from "./pages/experinces";
import Position from "./pages/position";
import Testapi from "./components/home/testapi";
function App() {
return (
<Router>
<Switch>
<Route path="/" exact>
<HomePage />
</Route>
<Route path="/packages">
<Package />
</Route>
<Route path="/Experinces">
<Experinces />
</Route>
<Route path="/position">
<Position />
</Route>
<Route path="/product">
<Testapi />
</Route>
</Switch>
</Router>
);
}
export default App;