mirror of https://github.com/mkrhere/pw2
				
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					27 lines
				
				638 B
			
		
		
			
		
	
	
					27 lines
				
				638 B
			| 
											4 years ago
										 | import React from "react"; | ||
|  | import { BrowserRouter as Router, Switch, Route } from "react-router-dom"; | ||
|  | 
 | ||
|  | import Home from "./pages/Home"; | ||
|  | import Exp from "./pages/Exp"; | ||
|  | import Projects from "./pages/Projects"; | ||
|  | import Contact from "./pages/Contact"; | ||
|  | 
 | ||
|  | import NotFound from "./pages/404"; | ||
|  | 
 | ||
|  | function App() { | ||
|  | 	return ( | ||
|  | 		<Router> | ||
|  | 			<Switch> | ||
|  | 				<Route exact path="/" component={Home} /> | ||
|  | 				<Route exact path="/experience" component={Exp} /> | ||
|  | 				<Route exact path="/projects" component={Projects} /> | ||
|  | 				<Route exact path="/contact" component={Contact} /> | ||
|  | 
 | ||
|  | 				<Route component={NotFound} /> | ||
|  | 			</Switch> | ||
|  | 		</Router> | ||
|  | 	); | ||
|  | } | ||
|  | 
 | ||
|  | export default App; |