import React, {Component} from 'react';
import PrivateRoute from './components/PrivateRoute'
import {Route,Switch} from 'react-router-dom'
import Login from './routes/Login/index'
import Docking from './routes/Home/Docking/index'
// import Login from './routes/Login2/index'
import Index from './routes/Index/index'
import './App.css'
import './assets/font/iconfont.css'


class App extends Component {
  render() {
    return (
      <Switch>
        <Route path='/login' component={Docking}/>
        {/* <PrivateRoute path='/' component={Index}/> */}
        <PrivateRoute path='/' component={Docking}/>
      </Switch>
    )
  }
}

export default App;
