-
Notifications
You must be signed in to change notification settings - Fork 1
/
React-Routing.js
39 lines (37 loc) · 1.26 KB
/
React-Routing.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
36
37
38
39
import React from 'react';
import {
BrowserRouter,
Route,
Link,
NavLink,
Router,
Routes,
} from "react-router-dom";
import Navigation from './Components/Navigation/Navigation';
import Home from './Components/Home/Home';
import About from './Components/About/About';
import ProductAndServices from './Components/ProductAndServices/ProductAndServices';
import Capabilities from './Components/Capabilities/Capabilities';
import Innovation from './Components/Innovation/Innovation';
import Partners from './Components/Partners/Partners';
import Carrer from './Components/Carrer/Carrer';
import NotFound from './Components/NotFound/NotFound';
import './App.css';
function App() {
return (
<BrowserRouter>
<Navigation />
<Routes>
<Route exact path="/" element={<Home />} />
<Route path="/about" element={<About />} />
<Route path="/product_services" element={<ProductAndServices />} />
<Route path="/capalilities" element={<Capabilities />} />
<Route path="/innovation" element={<Innovation />} />
<Route path="/partners" element={<Partners />} />
<Route path="/carrer" element={<Carrer />} />
<Route path="*" element={<NotFound />} />
</Routes>
</BrowserRouter>
);
}
export default App;