Updated the App.jsx

This commit is contained in:
Mathias Wagner 2023-07-30 19:07:02 +02:00
parent 8a9b7af03a
commit 130f53ac18
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

View File

@ -1,15 +1,12 @@
import { LinearProgress, Stack, useTheme} from "@mui/material";
import LightLogo from "@/common/assets/images/logo/light.webp";
import DarkLogo from "@/common/assets/images/logo/dark.webp";
import {UserProvider} from "@contexts/User";
import {InfoProvider} from "@contexts/Info";
export default () => {
const theme = useTheme();
const logo = theme.palette.mode === "dark" ? DarkLogo : LightLogo;
return (
<Stack sx={{height: "100vh"}} justifyContent="center" alignItems="center" gap={5}>
<img src={logo} alt="Logo" style={{width: "25rem"}}/>
<LinearProgress variant="indeterminate" sx={{width: "20rem"}}/>
</Stack>
<InfoProvider>
<UserProvider>
<h2>Logged in</h2>
</UserProvider>
</InfoProvider>
)
}