working on car card & car view BS

This commit is contained in:
2026-01-05 23:30:03 +03:00
parent c8bf8ff621
commit 20ef4f416c
14 changed files with 658 additions and 29 deletions

View File

@@ -20,6 +20,7 @@ import CustomerInformationCard from "./components/CustomerInformationCard";
import Ads1 from "components/Ads/Ads1";
import TimeEstimateCard from "pages/cart/components/timeEstimate/TimeEstimateCard";
import { useEffect } from "react";
import { CarCard } from "./components/CarCard";
export default function CheckoutPage() {
const { t } = useTranslation();
@@ -46,6 +47,7 @@ export default function CheckoutPage() {
<Layout.Content className={styles.checkoutContainer}>
{(orderType === OrderType.Pickup ||
orderType === OrderType.ScheduledOrder) && <TimeEstimateCard />}
{orderType === OrderType.Pickup && <CarCard />}
{orderType === OrderType.Gift && <GiftCard />}
<PaymentMethods />
{!token && <CustomerInformationCard />}