import React from 'react';
import { useMediaQuery, makeStyles, Paper } from '@material-ui/core';
import { useTheme } from '@material-ui/core/styles';
const useStyles = makeStyles((theme) => ({
root: {
display: 'flex',
height: '100vh',
},
sidebar: {
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
color: theme.palette.secondary.contrastText,
background: theme.palette.common.purple,
paddingBottom: theme.spacing(5),
width: theme.dimensions.sidebarWidth,
[theme.breakpoints.down('md')]: {
width: theme.dimensions.sidebarWidthTablet,
},
[theme.breakpoints.down('xl')]: {
width: '0px',
},
},
paper: {
display: 'flex',
flexDirection: 'column',
justifyContent: 'center',
alignItems: 'center',
flex: 1,
boxShadow: '-2px 0px 16px rgba(0, 0, 0, 0.25)',
[theme.breakpoints.up('xl')]: {
padding: theme.spacing(0, 25, 0, 0),
},
},
form: {
maxWidth: theme.spacing(52),
padding: theme.spacing(5),
width: '100%',
},
attribution: {
position: 'absolute',
bottom: theme.spacing(1),
right: theme.spacing(1.5),
fontSize: 'x-small',
display: 'none',
},
}));
const StartPage = ({ children }) => {
const classes = useStyles();
const theme = useTheme();
return (
<>