Added about route

This commit is contained in:
Camerin Figueroa 2021-09-20 12:46:59 -04:00
parent bfb8e7c9f2
commit 9fef983266
1 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,7 @@ import { BrowserRouter, Route, Switch } from 'react-router-dom';
import Navigation from './Navigation'; import Navigation from './Navigation';
import Home from './Home'; import Home from './Home';
import Github from './Github'; import Github from './Github';
import About from './About';
const App = (props) => { const App = (props) => {
return ( return (
@ -12,6 +13,7 @@ const App = (props) => {
<Switch> <Switch>
<Route path="/" exact component={Home} /> <Route path="/" exact component={Home} />
<Route path="/github" component={Github} /> <Route path="/github" component={Github} />
<Route path="/about" component={About} />
</Switch> </Switch>
</div> </div>
</BrowserRouter> </BrowserRouter>