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

@@ -242,7 +242,7 @@ export default function CartMobileTabletLayout({
);
}}
>
<PlusIcon dimesion="18" /> {t("cart.addMore")}
<PlusIcon dimension="18" /> {t("cart.addMore")}
</Button>
</Card>
</div>

View File

@@ -161,19 +161,34 @@ export default function RewardWaiterCard() {
iconPlacement="start"
onClick={() => setIsTipOpen(true)}
>
<ProText
style={{
color: tip && !isDefaultTip ? "#CC9300" : "#FFB700",
fontWeight: 500,
fontStyle: "Medium",
fontSize: 14,
lineHeight: "140%",
letterSpacing: "0%",
textAlign: "center",
}}
>
{tip && !isDefaultTip ? tip : t("cart.other")}
</ProText>
{tip && !isDefaultTip ? (
<ArabicPrice
price={parseFloat(tip)}
textStyle={{
fontWeight: 500,
fontStyle: "Medium",
fontSize: 14,
lineHeight: "140%",
letterSpacing: "0%",
textAlign: "center",
color: "#CC9300",
}}
/>
) : (
<ProText
style={{
color: "#CC9300",
fontWeight: 500,
fontStyle: "Medium",
fontSize: 14,
lineHeight: "140%",
letterSpacing: "0%",
textAlign: "center",
}}
>
{t("cart.other")}
</ProText>
)}
</Button>
</div>
</Card>