Added about route
This commit is contained in:
parent
bfb8e7c9f2
commit
9fef983266
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue