2024-06-22 22:06:16 +01:00
|
|
|
import Typography from '@mui/material/Typography';
|
|
|
|
|
import Box from '@mui/material/Box';
|
2024-06-26 01:09:03 +01:00
|
|
|
import './Loading.css';
|
2024-06-19 21:18:35 +01:00
|
|
|
|
2024-06-26 01:09:03 +01:00
|
|
|
function Loading() {
|
2024-06-19 21:18:35 +01:00
|
|
|
return (
|
2024-06-26 01:09:03 +01:00
|
|
|
<Box
|
|
|
|
|
sx={{
|
|
|
|
|
width: '100%',
|
|
|
|
|
height: 0.8 * window.innerHeight,
|
|
|
|
|
display: 'flex',
|
|
|
|
|
flexDirection: 'column',
|
|
|
|
|
justifyContent: 'center',
|
|
|
|
|
alignItems: 'center'
|
|
|
|
|
}}
|
|
|
|
|
>
|
|
|
|
|
<Typography color="primary">Loading</Typography>
|
2024-06-19 21:18:35 +01:00
|
|
|
<Box
|
|
|
|
|
id="spinner"
|
|
|
|
|
sx={{
|
2024-06-21 20:06:07 +01:00
|
|
|
'& > div': {
|
|
|
|
|
backgroundColor: 'palette.secondary.main'
|
|
|
|
|
}
|
2024-06-19 21:18:35 +01:00
|
|
|
}}
|
|
|
|
|
>
|
2024-06-21 20:06:07 +01:00
|
|
|
<div className="bounce1" />
|
|
|
|
|
<div className="bounce2" />
|
|
|
|
|
<div className="bounce3" />
|
2024-06-19 21:18:35 +01:00
|
|
|
</Box>
|
2024-06-26 01:09:03 +01:00
|
|
|
</Box>
|
2024-06-22 22:06:16 +01:00
|
|
|
);
|
2024-06-19 21:18:35 +01:00
|
|
|
}
|
|
|
|
|
|
2024-06-26 01:09:03 +01:00
|
|
|
export default Loading;
|