gift: update UI and voucher & items BS

This commit is contained in:
2025-12-30 11:09:52 +03:00
parent f3b8bdba63
commit 3ed5c4d5d6
17 changed files with 434 additions and 10 deletions

View File

@@ -5,6 +5,7 @@ import { useTranslation } from "react-i18next";
import { Link, useNavigate, useParams } from "react-router-dom";
import { useAppSelector } from "redux/hooks.ts";
import styles from "./footer.module.css";
import { OrderType } from "pages/checkout/hooks/types";
interface CartFooterProps {
form: FormInstance;
@@ -63,7 +64,9 @@ export default function CartFooter({ form }: CartFooterProps) {
}}
onClick={handleCheckoutClick}
>
{t("cart.checkout")}
{orderType === OrderType.Gift
? t("cart.continueToGiftDetails")
: t("cart.checkout")}
</Button>
</Layout.Footer>
);