Files
freeCodeCamp/common/app/routes/index.js

20 lines
357 B
JavaScript
Raw Normal View History

2015-07-25 15:15:59 -07:00
import Jobs from './Jobs';
2015-07-03 20:42:54 -07:00
import Hikes from './Hikes';
2016-06-09 16:02:51 -07:00
import { modernChallenges, map, challenges } from './challenges';
2015-11-19 22:45:31 -08:00
import NotFound from '../components/NotFound/index.jsx';
2015-06-17 21:04:28 -07:00
export default {
path: '/',
2015-09-14 12:12:31 -07:00
childRoutes: [
Jobs,
2015-11-19 22:45:31 -08:00
Hikes,
2016-03-21 15:39:45 -07:00
challenges,
2016-06-09 16:02:51 -07:00
modernChallenges,
2016-03-21 15:39:45 -07:00
map,
2015-11-19 22:45:31 -08:00
{
path: '*',
component: NotFound
}
2015-09-14 12:12:31 -07:00
]
2015-06-17 21:04:28 -07:00
};