aboutsummaryrefslogtreecommitdiff
path: root/src/index.tsx
blob: 5155ab7f8b47b176b1878e7269708bdbe6e94b50 (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
36
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 { AuthProvider } from './hooks/useAuth';

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 (
    <AuthProvider>
      <Benzin>
        <Paper className={classes.root}>
          <ContentSection sectionName="famcs-kit">
            <BsuFantomSection />
          </ContentSection>
        </Paper>
      </Benzin>
    </AuthProvider>
  );
};


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