{"size": 998, "ext": "js", "max_stars_repo_path": "src/Routes.js", "max_stars_repo_name": "anthonySchafrik/paper-dragon", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/Routes.js", "max_issues_repo_name": "anthonySchafrik/paper-dragon", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/Routes.js", "max_forks_repo_name": "anthonySchafrik/paper-dragon", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 36.962962963, "max_line_length": 77, "alphanum_fraction": 0.7164328657}
import React from 'react';
import { Route, Switch } from 'react-router-dom';

import AccountSetting from './components/AccountSetting';
import Character from './components/character/Character';
import CharacterPage from './components/character/CharacterPage';
import CreateCharacterPage from './components/character/CreateCharacterPage';
import CombatContainer from './components/Combat/CombatContainer';
import HomePage from './components/HomePage';
import SignUp from './components/SignUp';

const Routes = () => {
  return (
    <Switch>
      <Route path="/accountSetting" component={AccountSetting} />
      <Route path="/character" component={Character} />
      <Route path="/CreateCharacter" component={CreateCharacterPage} />
      <Route path="/characterPage" component={CharacterPage} />
      <Route path="/play" component={CombatContainer} />
      <Route path="/signUp" component={SignUp} />
      <Route path="/" component={HomePage} />
    </Switch>
  );
};

export default Routes;
