{"size": 491, "ext": "js", "max_stars_repo_path": "src/components/Routes.js", "max_stars_repo_name": "meg-gutshall/secrets-frontend", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/components/Routes.js", "max_issues_repo_name": "meg-gutshall/secrets-frontend", "max_issues_repo_issues_event_min_datetime": "2021-07-08T00:01:24.000Z", "max_issues_repo_issues_event_max_datetime": "2021-07-08T00:01:24.000Z", "max_forks_repo_path": "src/components/Routes.js", "max_forks_repo_name": "meg-gutshall/secrets-frontend", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 28.8823529412, "max_line_length": 66, "alphanum_fraction": 0.6558044807}
import { BrowserRouter as Router, Route } from 'react-router-dom';
import Secrets from './Secrets';
import NewSecret from './NewSecret';
import About from './About';
import Nav from './Nav';

const Routes = () => (
  <Router>
    <Nav />
    <Route exact path='/' component={Secrets} /> 
    <Route path='/secrets/about' component={About} />
    <Route path='/secrets/new' component={NewSecret} />
    <Route exact path='/secrets' component={Secrets} />
  </Router>
)

export default Routes;