Created
June 4, 2018 17:10
-
-
Save SaraVieira/27dfbc5343fa1a39e1547db9fb6be975 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 { Route, Switch } from 'react-router-dom' | |
import Home from './Pages/Home' | |
import Speakers from './Pages/Speakers' | |
import Speaker from './Pages/Speaker' | |
import Tags from './Pages/Tags' | |
import Tag from './Pages/Tag' | |
import Favorites from './Pages/Favorites' | |
import './Utils/global-styles' | |
import './Utils/icons' | |
export default () => ( | |
<Switch> | |
<Route exact path="/" component={Home} /> | |
<Route exact path="/favorites" component={Favorites} /> | |
<Route exact path="/categories" component={Tags} /> | |
<Route exact path="/category/:category" component={Tag} /> | |
<Route exact path="/speakers" component={Speakers} /> | |
<Route exact path="/speaker/:speaker" component={Speaker} /> | |
</Switch> | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment