From f13533dfc6aba8c9a3d53e8bfc920d60107a36b6 Mon Sep 17 00:00:00 2001 From: Prayag Prajapati Date: Mon, 19 Feb 2024 20:59:12 +0530 Subject: [PATCH] update(ui): Improve hero-carousel-skeleton design --- src/components/skeleton/carousel.jsx | 29 ++++++++++++++++++---------- src/routes/home/home.module.scss | 2 +- 2 files changed, 20 insertions(+), 11 deletions(-) diff --git a/src/components/skeleton/carousel.jsx b/src/components/skeleton/carousel.jsx index 00a6e60..aa7b06d 100644 --- a/src/components/skeleton/carousel.jsx +++ b/src/components/skeleton/carousel.jsx @@ -11,9 +11,10 @@ export const CarouselSkeleton = () => { elevation={0} sx={{ height: "70vh", - margin: "4.4em 1.6em 1.6em 1.6em", + margin: "0.6em 1.6em 1.6em 1.6em", position: "relative", - background: theme.palette.primary.background.main, + background: "black", + border: "1px solid rgb(255 255 255 / 0.2)", borderRadius: "10px", overflow: "hidden", }} @@ -24,23 +25,31 @@ export const CarouselSkeleton = () => { variant="text" sx={{ fontSize: "8rem" }} width={300} - animation="wave" + // animation="wave" /> - + - - + diff --git a/src/routes/home/home.module.scss b/src/routes/home/home.module.scss index 69bb5f3..ade2b67 100644 --- a/src/routes/home/home.module.scss +++ b/src/routes/home/home.module.scss @@ -77,7 +77,7 @@ -webkit-line-clamp: 2; margin-bottom: 0.5em; &-logo { - max-width: 9em; + max-width: 50vw; max-height: 3em; object-fit: contain; object-position: bottom;