aboutsummaryrefslogtreecommitdiff
path: root/src/index.tsx
blob: 5337615c082ee90661778871c78293c21ae0baf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import React from 'react';
import ReactDOM from 'react-dom';
import { Benzin, ContentSection } from 'react-benzin';
import { Paper } from '@material-ui/core';
import { makeStyles } from '@material-ui/core/styles';
import BsuFantomSection from './containers/BsuFantomSection/BsuFantomSection';
import LoginSection from './containers/LoginSection/LoginSection';

const useStyles = makeStyles(theme => ({
  root: {
    margin: theme.spacing(4),
    padding: theme.spacing(2),
    minHeight: theme.spacing(60)
  }
}));


const App: React.FC = () => {
  const classes = useStyles();

  return (
    <Benzin>
      <Paper className={classes.root}>
        <ContentSection sectionName="famcs-kit">
          <LoginSection />
          <BsuFantomSection />
        </ContentSection>
      </Paper>
    </Benzin>
  );
};


ReactDOM.render(<App />, document.getElementById('root'));