Last active
December 26, 2021 19:38
-
-
Save treyhuffine/b674c0477c3533f88e93709565259ca4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom'; | |
import Me from './Me'; | |
import Projects from './Projects'; | |
import Work from './Work'; | |
import Education from './Education'; | |
const Pages = ({ user }) => { | |
return ( | |
<Router> | |
<Routes> | |
<Route exact path="/" element={<Me user={user} />} /> | |
<Route path="/projects" element={<Projects user={user} />} /> | |
<Route path="/work" element={<Work user={user} />} /> | |
<Route path="/education" element={<Education user={user} />} /> | |
</Routes> | |
</Router> | |
); | |
}; | |
export default Pages; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@SeanRoberts-ca of course! This account has been deleted.