enhance loyalty section UI

This commit is contained in:
2026-01-13 23:09:37 +03:00
parent a06147dfa4
commit 1d9ae7190e
9 changed files with 162 additions and 76 deletions

View File

@@ -23,6 +23,7 @@ import { CarCard } from "./components/CarCard";
import { CollectWay } from "./components/CollectWay/CollectWay";
import PickupTimeCard from "./components/pickupEstimate/TimeEstimateCard";
import VoucherSummary from "pages/redeem/components/VoucherSummary/VoucherSummary";
import EarnLoyaltyPointsCard from "pages/cart/components/earnLoyaltyPointsCard/EarnLoyaltyPointsCard";
export default function CheckoutPage() {
const { t } = useTranslation();
@@ -85,7 +86,9 @@ export default function CheckoutPage() {
<OfficeDetails /> */}
{/* <GiftDetails /> */}
{/* <BriefMenu /> */}
{orderType !== OrderType.Redeem && orderType !== OrderType.Gift && <CouponCard />}
{orderType !== OrderType.Redeem && orderType !== OrderType.Gift && (
<CouponCard />
)}
{/* Collection Method */}
{orderType === OrderType.Pickup && (
@@ -123,7 +126,12 @@ export default function CheckoutPage() {
)}
{/* Reward Your Waiter */}
{orderType !== OrderType.Redeem && orderType !== OrderType.Gift && <RewardWaiterCard />}
{orderType !== OrderType.Redeem && orderType !== OrderType.Gift && (
<RewardWaiterCard />
)}
{orderType !== OrderType.Redeem && orderType !== OrderType.Gift && (
<EarnLoyaltyPointsCard />
)}
<BriefMenuCard />
<Ads1 />
<OrderSummary />