content: import React, { Component } from 'react';
  import {
      BrowserRouter as Router,
      Route,
      Link,
      NavLink,
      Redirect,
      withRouter,
      Switch
  } from 'react-router-dom'
  import Page from '../containers/page'
  import Login from '../containers/login'
  import Home from '../containers/home'
  import Menu from '../containers/menu'
  
  export default class EliteMobileRouter extends Component {
  
      render() {
          return (
              <Router>
                  <Switch>
                      <Route path="/" exact component={Login} />
                      <Route path="/main" component={(props) => (
                              <Home>
                                  <Switch>
                                      <Route path="/menu" exact component={Menu} />
                                  </Switch>
                              </Home>
                          )
                      }/>
                  </Switch>
              </Router>
          )
      }
  }