Skip to content

Commit f73d681

Browse files
committed
Revert "design revision"
This reverts commit b8a21df.
1 parent 39a20af commit f73d681

File tree

5 files changed

+107
-7
lines changed

5 files changed

+107
-7
lines changed

frontend/src/scenes/dashboard/HomePageComponents/CreateActivityButton/CreateActivityButton.jsx

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ const CreateActivityButton = ({
2424
flexDirection: "column",
2525
alignItems: "center",
2626
justifyContent: "center",
27-
textTransform: "none",
2827
transition: "box-shadow 0.3s ease",
2928
"&:hover": {
3029
border: "1px solid var(--gray-250)",

frontend/src/scenes/dashboard/HomePageComponents/Skeletons/BannerSkeleton.jsx

+2-5
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,22 @@ const BannerSkeleton = () => {
1111
sx={{ bgcolor: "var(--gray-300" }}
1212
animation={false}
1313
/>
14-
1514
<Skeleton
16-
variant="rounded"
15+
variant="rectangular"
1716
width={210}
1817
height={28}
1918
sx={{ bgcolor: "var(--gray-200)" }}
2019
animation={false}
2120
/>
22-
2321
<Skeleton
24-
variant="rounded"
22+
variant="rectangular"
2523
width={210}
2624
height={20}
2725
sx={{ bgcolor: "var(--gray-200)" }}
2826
animation={false}
2927
/>
3028

3129
<Skeleton
32-
className="childSkeleton"
3330
sx={{
3431
position: "absolute",
3532
top: 12,
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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 numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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;

frontend/src/scenes/dashboard/HomePageComponents/Skeletons/Skeleton.module.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
display: flex;
88
justify-self: center;
99
flex-direction: column;
10-
gap: 8px;
10+
gap: 5px;
1111
width: auto;
1212
margin-bottom: 24px;
1313
}

0 commit comments

Comments
 (0)