{"size": 1542, "ext": "js", "max_stars_repo_path": "src/index.js", "max_stars_repo_name": "kingofdevs/reactjs-software", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/index.js", "max_issues_repo_name": "kingofdevs/reactjs-software", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/index.js", "max_forks_repo_name": "kingofdevs/reactjs-software", "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": 32.8085106383, "max_line_length": 59, "alphanum_fraction": 0.6861219196}
import React from "react";
import ReactDOM from "react-dom";
import { createBrowserHistory } from "history";
import { Router, Route, Switch } from "react-router-dom";
import { ThemeProvider } from '@material-ui/styles';
import theme from './utils/responsive'
import "assets/scss/material-kit-react.scss?v=1.8.0";

import Home from "./screens/Home";
import AppTutorials from "./screens/AppTutorials";
import OurApps from "./screens/OurApps";
import Price from "./screens/Price";
import PrivacyPolicy from "./screens/PrivacyPolicy";
import AppUsagePolicy from "./screens/AppUsagePolicy";
import About from "./screens/About";
import NoMatch from "./screens/NoMatch"
import AppDetail from "./screens/AppDetail";

var hist = createBrowserHistory();

const browserHistory = createBrowserHistory();

browserHistory.listen((location, action) => {
  window.scrollTo(0, 0);
});

ReactDOM.render(
  <Router history={hist && browserHistory} >
    <ThemeProvider theme={theme}>
      <Switch>
        <Route path="/apps" component={OurApps} />
        <Route path="/detail" component={AppDetail} />

        <Route path="/price" component={Price} />
        <Route path="/tutorial" component={AppTutorials} />
        <Route path="/privacy" component={PrivacyPolicy} />
        <Route path="/usage" component={AppUsagePolicy} />
        <Route path="/about" component={About} />
        <Route exact path="/" component={Home} />
        <Route component={NoMatch} />
      </Switch>
    </ThemeProvider>
  </Router>,
  document.getElementById("root")
);

