enhancements
This commit is contained in:
@@ -148,7 +148,9 @@
|
|||||||
"delivery": "التوصيل",
|
"delivery": "التوصيل",
|
||||||
"noMenuItemsAvailable": "لا توجد عناصر قائمة متاحة",
|
"noMenuItemsAvailable": "لا توجد عناصر قائمة متاحة",
|
||||||
"restaurantCover": "غلاف المطعم",
|
"restaurantCover": "غلاف المطعم",
|
||||||
"restaurantLogo": "شعار المطعم"
|
"restaurantLogo": "شعار المطعم",
|
||||||
|
"joinUs": "انضم إلى الولاء",
|
||||||
|
"joinUsDescription": "لتحصل على هدية مجانية"
|
||||||
},
|
},
|
||||||
"cart": {
|
"cart": {
|
||||||
"title": "السلة",
|
"title": "السلة",
|
||||||
@@ -232,8 +234,7 @@
|
|||||||
"useLoyaltyPoints": "استخدام نقاط الولاء",
|
"useLoyaltyPoints": "استخدام نقاط الولاء",
|
||||||
"noLoyaltyItemsInCart": "لا توجد عناصر ولاء في سلة المشتريات",
|
"noLoyaltyItemsInCart": "لا توجد عناصر ولاء في سلة المشتريات",
|
||||||
"pleaseAddLoyaltyItems": "يرجى إضافة عناصر ولاء إلى سلة المشتريات لاستخدام نقاط الولاء",
|
"pleaseAddLoyaltyItems": "يرجى إضافة عناصر ولاء إلى سلة المشتريات لاستخدام نقاط الولاء",
|
||||||
"loyaltyDiscountApplied": "تم تطبيق خصم الولاء: {{itemName}} (خصم {{amount}})",
|
"loyaltyDiscountApplied": "تم تطبيق خصم الولاء: {{itemName}} (خصم {{amount}})"
|
||||||
"joinToEarn": "انضم إلى الولاء لتحصل على هدية مجانية"
|
|
||||||
},
|
},
|
||||||
"checkout": {
|
"checkout": {
|
||||||
"title": "الدفع",
|
"title": "الدفع",
|
||||||
|
|||||||
@@ -161,7 +161,8 @@
|
|||||||
"searchPlaceholder": "Search for products...",
|
"searchPlaceholder": "Search for products...",
|
||||||
"noResultsFound": "No results found",
|
"noResultsFound": "No results found",
|
||||||
"cart": "Cart",
|
"cart": "Cart",
|
||||||
"joinToEarn": "Join us to earn loyalty points"
|
"joinUs": "Join us",
|
||||||
|
"joinUsDescription": "to earn loyalty points"
|
||||||
},
|
},
|
||||||
"cart": {
|
"cart": {
|
||||||
"title": "Cart",
|
"title": "Cart",
|
||||||
|
|||||||
@@ -66,12 +66,23 @@ const LoyaltyCard = () => {
|
|||||||
value: restaurant?.loyalty_stamps ?? 0,
|
value: restaurant?.loyalty_stamps ?? 0,
|
||||||
})}
|
})}
|
||||||
{!token && (
|
{!token && (
|
||||||
|
<div style={{ paddingTop: 4 }}>
|
||||||
<Link
|
<Link
|
||||||
to={`/${id}/login`}
|
to={`/${id}/login`}
|
||||||
style={{ color: colors.primary, marginTop: 4 }}
|
style={{
|
||||||
|
color: colors.primary,
|
||||||
|
textDecoration: "underline",
|
||||||
|
fontSize: "14px",
|
||||||
|
fontWeight: 400,
|
||||||
|
padding: "0 4px",
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
{t("menu.joinToEarn")}
|
{t("menu.joinUs")}
|
||||||
</Link>
|
</Link>
|
||||||
|
<span style={{ fontSize: "14px", color: colors.secondary }}>
|
||||||
|
{t("menu.joinUsDescription")}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
)}
|
)}
|
||||||
</ProText>
|
</ProText>
|
||||||
</Col>
|
</Col>
|
||||||
|
|||||||
Reference in New Issue
Block a user