Created
July 3, 2016 22:17
-
-
Save chuck0523/10458b5565337569ec5b423596d017d3 to your computer and use it in GitHub Desktop.
This file contains 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 IndexRoute from 'react-router/lib/IndexRoute' | |
import Route from 'react-router/lib/Route' | |
import App from './components/App' | |
import Home from './components/Home' | |
import JobBoard from './components/JobBoard' | |
import JobDetail from './components/JobDetail' | |
import About from './components/About' | |
import Help from './components/Help' | |
import AppQueries from './queries/AppQueries' | |
export default ( | |
<Route | |
path="/" | |
component={App} | |
queries={AppQueries} | |
> | |
<IndexRoute | |
component={Home} | |
/> | |
<Route | |
path="board" | |
component={JobBoard} | |
queries={AppQueries} | |
/> | |
<Route | |
path="detail" | |
component={JobDetail} | |
queries={AppQueries} | |
/> | |
<Route | |
path="about" | |
component={About} | |
/> | |
<Route | |
path="help" | |
component={Help} | |
/> | |
</Route> | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment