cart: enhance actions buttons and enhance go to cart btn UI
This commit is contained in:
@@ -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)}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user