From 63139eb20bd8fd3f75b10975634dd6eddd8829e1 Mon Sep 17 00:00:00 2001 From: Mohammed Al-yaseen Date: Wed, 10 Dec 2025 21:22:22 +0300 Subject: [PATCH] update loyalty icon place --- src/components/Icons/StarIcon.tsx | 9 +++++---- src/components/Icons/item/DescIcon1.tsx | 4 ++-- src/components/Icons/item/DescIcon2.tsx | 4 ++-- src/components/Icons/item/DescIcon3.tsx | 4 ++-- .../ItemDescriptionIcons.module.css | 13 ++++++++++++- .../ItemDescriptionIcons/ItemDescriptionIcons.tsx | 14 +++++++++----- .../youMayLike/YouMayAlsoLike.module.css | 5 ----- src/pages/menu/components/MenuList/ProductCard.tsx | 3 +-- 8 files changed, 33 insertions(+), 23 deletions(-) diff --git a/src/components/Icons/StarIcon.tsx b/src/components/Icons/StarIcon.tsx index 097feb1..3fe9fe7 100644 --- a/src/components/Icons/StarIcon.tsx +++ b/src/components/Icons/StarIcon.tsx @@ -6,16 +6,17 @@ interface StarIconType { const StarIcon = ({ className, onClick }: StarIconType) => { return ( + { return ( { return ( { return ( state.theme); const pathColor = themeName === "dark" ? "white" : "#000044"; return ( -
- - - +
+ {hasLoyalty && } + + + + +
); } diff --git a/src/pages/cart/components/youMayLike/YouMayAlsoLike.module.css b/src/pages/cart/components/youMayLike/YouMayAlsoLike.module.css index 5163e78..a0be90f 100644 --- a/src/pages/cart/components/youMayLike/YouMayAlsoLike.module.css +++ b/src/pages/cart/components/youMayLike/YouMayAlsoLike.module.css @@ -105,11 +105,6 @@ outline-offset: 2px; } -.itemDescriptionIcons svg { - width: 18px; - height: 18px; -} - .arrowButton { display: flex; align-items: center; diff --git a/src/pages/menu/components/MenuList/ProductCard.tsx b/src/pages/menu/components/MenuList/ProductCard.tsx index 674959c..22eb370 100644 --- a/src/pages/menu/components/MenuList/ProductCard.tsx +++ b/src/pages/menu/components/MenuList/ProductCard.tsx @@ -84,7 +84,6 @@ export default function ProductCard({ item }: Props) { gap: "0.5rem", }} > - - +