content: import React from 'react'
  import { Route, Redirect, IndexRedirect } from 'react-router'
  
  import {
    MaterialPage,
    LoginPage,
    RegistrationPage,
    ServerPage,
    SettingsPage
  } from './pages'
  
  const routes = (
    <Route component={MaterialPage}>
      <IndexRedirect to='/login'/>
      <Route path='/login' component={LoginPage}/>
      <Route path='/registration' component={RegistrationPage}/>
      <Route path='/server/' component={ServerPage}>
        <IndexRedirect to='/server/settings'/>
        <Route path='/server/settings' component={SettingsPage}/>
        <Redirect from='/server/*' to='/server/settings'/>
      </Route>
      <Redirect from='*' to='/login'/>
    </Route>
  )
  
  export default routes
  