We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac01851 commit f564df5Copy full SHA for f564df5
src/app/[locale]/(main)/loading.tsx
@@ -1,5 +1,23 @@
1
-import LoadingComponent from '@/components/common/LoadingComponent';
+import { Box, Grid, Skeleton } from '@mui/material';
2
3
-const Loading = () => <LoadingComponent />;
+const Loading = () => {
4
+ return (
5
+ <>
6
+ <Skeleton variant="rectangular" height={350} />
7
+ <Grid container spacing={1}>
8
+ {new Array(4).fill(1).map((item, index) => {
9
10
+ <Grid key={index} item xs={12} md={6} lg={4} xl={3}>
11
+ <Box>
12
+ <Skeleton variant="rectangular" height={120} />
13
+ <Skeleton variant="text" width={60} />
14
+ </Box>
15
+ </Grid>
16
+ );
17
+ })}
18
19
+ </>
20
21
+};
22
23
export default Loading;
0 commit comments