cart: enhance actions buttons and enhance go to cart btn UI

This commit is contained in:
2025-12-15 23:58:31 +03:00
parent a126eb8e02
commit 19889ed487
8 changed files with 177 additions and 54 deletions

View File

@@ -120,8 +120,17 @@ function MenuPage() {
{isRTL ? restaurant?.nameAR : restaurant?.restautantName}
</ProTitle>
<Button
className={styles.openCloseButton}
icon={<NextIcon className={styles.openCloseIcon} iconColor="#278655" iconSize={9} />}
className={
restaurant?.isOpened
? styles.openButton
: styles.closeButton
}
icon={
<NextIcon
iconColor={restaurant?.isOpened ? "#278655" : "#DD4143"}
iconSize={9}
/>
}
iconPosition="end"
onClick={() => setIsOpeningTimesOpen(true)}
>