first sync

This commit is contained in:
41666 2017-12-04 21:25:13 -06:00
parent 5d6f382c8a
commit a4acc441ea
52 changed files with 28315 additions and 0 deletions

18
UI/src/router/index.js Normal file
View file

@ -0,0 +1,18 @@
import React, { Component, Fragment } from 'react'
import { Route } from 'react-router-dom'
import Servers from '../components/servers'
import OauthCallback from '../components/oauth-callback'
const aaa = (props) => (<div>{ JSON.stringify(props) }</div>)
export default class AppRouter extends Component {
render () {
return <Fragment>
<Route exact path='/' component={aaa} />
<Route path='/s' component={Servers} />
<Route path='/root' component={aaa} />
<Route path='/oauth/callback' component={OauthCallback} />
</Fragment>
}
}