File tree 5 files changed +107
-7
lines changed
frontend/src/scenes/dashboard/HomePageComponents
5 files changed +107
-7
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ const CreateActivityButton = ({
24
24
flexDirection : "column" ,
25
25
alignItems : "center" ,
26
26
justifyContent : "center" ,
27
- textTransform : "none" ,
28
27
transition : "box-shadow 0.3s ease" ,
29
28
"&:hover" : {
30
29
border : "1px solid var(--gray-250)" ,
Original file line number Diff line number Diff line change @@ -11,25 +11,22 @@ const BannerSkeleton = () => {
11
11
sx = { { bgcolor : "var(--gray-300" } }
12
12
animation = { false }
13
13
/>
14
-
15
14
< Skeleton
16
- variant = "rounded "
15
+ variant = "rectangular "
17
16
width = { 210 }
18
17
height = { 28 }
19
18
sx = { { bgcolor : "var(--gray-200)" } }
20
19
animation = { false }
21
20
/>
22
-
23
21
< Skeleton
24
- variant = "rounded "
22
+ variant = "rectangular "
25
23
width = { 210 }
26
24
height = { 20 }
27
25
sx = { { bgcolor : "var(--gray-200)" } }
28
26
animation = { false }
29
27
/>
30
28
31
29
< Skeleton
32
- className = "childSkeleton"
33
30
sx = { {
34
31
position : "absolute" ,
35
32
top : 12 ,
Original file line number Diff line number Diff line change
1
+ import { Skeleton } from "@mui/material" ;
2
+ import styles from "./Skeleton.module.scss" ;
3
+
4
+ const HelperSkeleton = ( ) => {
5
+ return (
6
+ < div className = { styles . skeletonContainer } >
7
+ < Skeleton
8
+ variant = "rectangular"
9
+ width = { 210 }
10
+ height = { 30 }
11
+ sx = { { bgcolor : "var(--light-gray)" } }
12
+ animation = { false }
13
+ />
14
+ < Skeleton
15
+ variant = "rectangular"
16
+ width = { 210 }
17
+ height = { 30 }
18
+ sx = { { bgcolor : "var(--light-gray)" } }
19
+ animation = { false }
20
+ />
21
+ < Skeleton
22
+ variant = "rectangular"
23
+ width = { 210 }
24
+ height = { 30 }
25
+ sx = { { bgcolor : "var(--light-gray)" } }
26
+ animation = { false }
27
+ />
28
+ < Skeleton
29
+ variant = "rectangular"
30
+ width = { 210 }
31
+ height = { 30 }
32
+ sx = { { bgcolor : "var(--light-gray)" } }
33
+ animation = { false }
34
+ />
35
+ < Skeleton
36
+ sx = { {
37
+ position : "absolute" ,
38
+ bottom : "1rem" ,
39
+ right : "0.8rem" ,
40
+ bgcolor : "var(--light-purple)" ,
41
+ border : "0.5px solid #e9d5ff" ,
42
+ } }
43
+ variant = "rounded"
44
+ width = { 100 }
45
+ height = { 50 }
46
+ animation = { false }
47
+ />
48
+ </ div >
49
+ ) ;
50
+ } ;
51
+
52
+ export default HelperSkeleton ;
Original file line number Diff line number Diff line change
1
+ import { Skeleton } from "@mui/material" ;
2
+ import styles from "./Skeleton.module.scss" ;
3
+
4
+ const PopUpSkeleton = ( ) => {
5
+ return (
6
+ < div className = { styles . skeletonContainer } >
7
+ < Skeleton
8
+ variant = "rectangular"
9
+ width = { 210 }
10
+ height = { 30 }
11
+ sx = { { bgcolor : "var(--light-gray)" } }
12
+ animation = { false }
13
+ />
14
+ < Skeleton
15
+ variant = "rectangular"
16
+ width = { 210 }
17
+ height = { 30 }
18
+ sx = { { bgcolor : "var(--light-gray)" } }
19
+ animation = { false }
20
+ />
21
+ < Skeleton
22
+ variant = "rectangular"
23
+ width = { 210 }
24
+ height = { 30 }
25
+ sx = { { bgcolor : "var(--light-gray)" } }
26
+ animation = { false }
27
+ />
28
+ < Skeleton
29
+ variant = "rectangular"
30
+ width = { 210 }
31
+ height = { 30 }
32
+ sx = { { bgcolor : "var(--light-gray)" } }
33
+ animation = { false }
34
+ />
35
+ < Skeleton
36
+ sx = { {
37
+ position : "absolute" ,
38
+ top : 20 ,
39
+ left : 30 ,
40
+ bgcolor : "var(--light-purple)" ,
41
+ border : "0.5px solid #e9d5ff" ,
42
+ } }
43
+ variant = "rounded"
44
+ width = { 100 }
45
+ height = { 50 }
46
+ animation = { false }
47
+ />
48
+ </ div >
49
+ ) ;
50
+ } ;
51
+
52
+ export default PopUpSkeleton ;
Original file line number Diff line number Diff line change 7
7
display : flex ;
8
8
justify-self : center ;
9
9
flex-direction : column ;
10
- gap : 8 px ;
10
+ gap : 5 px ;
11
11
width : auto ;
12
12
margin-bottom : 24px ;
13
13
}
You can’t perform that action at this time.
0 commit comments