Skip to content

Commit

Permalink
Added loading pages
Browse files Browse the repository at this point in the history
  • Loading branch information
bulhakovolexii committed Apr 28, 2024
1 parent 56c65e4 commit ae2fcef
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
17 changes: 17 additions & 0 deletions app/loading.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import { Box, CircularProgress } from "@mui/material";

export default function Loading() {
return (
<Box
sx={{
width: "100%",
height: "100%",
display: "flex",
justifyContent: "center",
alignItems: "center",
}}
>
<CircularProgress />
</Box>
);
}
17 changes: 17 additions & 0 deletions app/questionnaire/loading.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import { Box, CircularProgress } from "@mui/material";

export default function Loading() {
return (
<Box
sx={{
width: "100%",
height: "100%",
display: "flex",
justifyContent: "center",
alignItems: "center",
}}
>
<CircularProgress />
</Box>
);
}

0 comments on commit ae2fcef

Please sign in to comment.