{"size": 514, "ext": "js", "max_stars_repo_path": "src/routes/index.js", "max_stars_repo_name": "diogocezar/sandybox", "max_stars_repo_stars_event_min_datetime": "2018-07-25T23:37:38.000Z", "max_stars_repo_stars_event_max_datetime": "2021-11-09T10:09:51.000Z", "max_issues_repo_path": "src/routes/index.js", "max_issues_repo_name": "CollabCodeTech/collabcode-sandybox", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/routes/index.js", "max_forks_repo_name": "CollabCodeTech/collabcode-sandybox", "max_forks_repo_forks_event_min_datetime": "2018-08-24T00:58:14.000Z", "max_forks_repo_forks_event_max_datetime": "2018-09-23T13:52:02.000Z"}
{"max_stars_count": 42, "max_issues_count": null, "max_forks_count": 3, "avg_line_length": 24.4761904762, "max_line_length": 63, "alphanum_fraction": 0.5836575875}
import React, { Component, Fragment } from 'react'
import { HashRouter, Route, Switch }  from 'react-router-dom'
import Main                           from '../pages/Main'
import FrontPage                      from '../pages/FrontPage'

class Routes extends Component {
	render() {
		return(
			<HashRouter>
				<Fragment>
					<Switch>
						<Route exact path="/" component={FrontPage} />
						<Route path="/:id" component={Main} />
					</Switch>
				</Fragment>
			</HashRouter>
		)
	}
}

export default Routes