{"size": 1060, "ext": "js", "max_stars_repo_path": "src/App.js", "max_stars_repo_name": "team-llambda/gradebook-web", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/App.js", "max_issues_repo_name": "team-llambda/gradebook-web", "max_issues_repo_issues_event_min_datetime": "2018-12-30T02:36:27.000Z", "max_issues_repo_issues_event_max_datetime": "2019-01-13T21:09:24.000Z", "max_forks_repo_path": "src/App.js", "max_forks_repo_name": "team-llambda/gradebook-web", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 20, "max_forks_count": null, "avg_line_length": 33.125, "max_line_length": 73, "alphanum_fraction": 0.7113207547}
import React from 'react'
import { BrowserRouter as Router, Route, Switch } from 'react-router-dom'
import LoginPage from './LoginPage'
import ClassesPage from './Grades/ClassesPage'
import ChatPage from './ChatPage'
import SettingsPage from './SettingsPage'
import LogoutPage from './LogoutPage'
import LostPage from './LostPage'
import SingleClassPage from './Grades/SingleClassPage'
import { Chart } from 'chart.js'
import 'react-notifications/lib/notifications.css'

Chart.defaults.global.defaultFontFamily = 'Sofia-Pro'

export default class App extends React.Component {
	render() {
		return (
			<Router>
				<Switch>
					<Route exact path="/" component={LoginPage} />
					<Route exact path="/classes" component={ClassesPage} />
					<Route exact path="/classes/:period" component={SingleClassPage} />
					<Route exact path="/chat" component={ChatPage} />
					<Route exact path="/settings" component={SettingsPage} />
					<Route exact path="/logout" component={LogoutPage} />
					<Route component={LostPage} />
				</Switch>
			</Router>
		)
	}
}
