diff --git a/src/pages/menu/components/MenuSkeleton/MenuSkeleton.module.css b/src/pages/menu/components/MenuSkeleton/MenuSkeleton.module.css index 1a867c9..bddb601 100644 --- a/src/pages/menu/components/MenuSkeleton/MenuSkeleton.module.css +++ b/src/pages/menu/components/MenuSkeleton/MenuSkeleton.module.css @@ -27,43 +27,30 @@ .logo { position: absolute; - left: 33px; - top: -64px; - width: 72px; - height: 72px; + left: 19px !important; + top: 131px !important; + width: 70px !important; + height: 70px !important; border-radius: 50%; - border: 3px solid var(--background); - z-index: 10; + border: 3px solid var(--background) !important; + z-index: 11 !important; overflow: hidden; } -.leftShape { +.logoContainerIcon { position: absolute; - top: 133px; - width: 47px; - height: 50px; - left: -11px; - background-color: var(--background); - clip-path: path("M 0 53 Q 50 50, 50 0 Q 50 50, 100 100 L 0 100 Z"); + left: 0 !important; + top: 127px !important; + z-index: 10 !important; } -:global(.darkApp) .leftShape { - background-color: var(--background); + +:global(.ant-app-rtl) .logo { + right: 19px; } -.rightShape { - position: absolute; - top: 133px; - width: 47px; - height: 50px; - left: 102px; - background-color: var(--background); - clip-path: path("M 0 53 Q 50 50, 50 0 Q 50 50, 100 100 L 0 100 Z"); - transform: scale(-1, 1); -} - -:global(.darkApp) .rightShape { - background-color: var(--background); +:global(.ant-app-rtl) .logoContainerIcon { + right: -10px; } /* Menu Section Styles */ diff --git a/src/pages/menu/components/MenuSkeleton/MenuSkeleton.tsx b/src/pages/menu/components/MenuSkeleton/MenuSkeleton.tsx index 2df183e..de1cbf9 100644 --- a/src/pages/menu/components/MenuSkeleton/MenuSkeleton.tsx +++ b/src/pages/menu/components/MenuSkeleton/MenuSkeleton.tsx @@ -1,4 +1,5 @@ import { Card, Skeleton } from "antd"; +import LogoContainerIcon from "components/Icons/LogoContainerIcon"; import useBreakPoint from "hooks/useBreakPoint"; import styles from "./MenuSkeleton.module.css"; @@ -117,25 +118,10 @@ const MenuSkeleton = ({ }} /> {/* Logo Skeleton */} - - - {/* Decorative Shap es Skeleton */} -
-
+ +
+ +
{/* Restaurant Info Skeleton */} @@ -340,9 +326,7 @@ const MenuSkeleton = ({ />
*/} -
+
{Array.from({ length: variant === "minimal"