2020-05-11 16:39:04 +00:00
|
|
|
import React from 'react';
|
|
|
|
import 'rsuite/lib/styles/index.less';
|
|
|
|
import { Container } from 'rsuite';
|
|
|
|
|
|
|
|
import Login from './Login';
|
2020-05-13 09:47:07 +00:00
|
|
|
import Register from './Register';
|
|
|
|
|
2020-05-13 10:23:45 +00:00
|
|
|
import TopBar from '../components/Navbar/NavBar';
|
2020-05-11 16:39:04 +00:00
|
|
|
|
|
|
|
const containerStyle = {
|
|
|
|
maxWidth: 700,
|
|
|
|
margin: '0 auto',
|
|
|
|
borderRadius: 7,
|
|
|
|
background: 'white',
|
2020-05-13 09:19:37 +00:00
|
|
|
marginTop: '10vh',
|
|
|
|
marginBottom: '10vh',
|
2020-05-11 16:39:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
function App() {
|
|
|
|
return (
|
2020-05-11 17:09:59 +00:00
|
|
|
<Container style={containerStyle}>
|
|
|
|
<TopBar />
|
2020-05-13 09:47:07 +00:00
|
|
|
<Register />
|
2020-05-11 17:09:59 +00:00
|
|
|
</Container>
|
2020-05-11 16:39:04 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
export default App;
|