enhance card raduis & order
This commit is contained in:
@@ -175,8 +175,8 @@ export const themeConfig: ThemeConfig = {
|
|||||||
boxShadow: "0 1px 3px rgba(0,0,0,0.1)",
|
boxShadow: "0 1px 3px rgba(0,0,0,0.1)",
|
||||||
padding: 16,
|
padding: 16,
|
||||||
paddingLG: 16,
|
paddingLG: 16,
|
||||||
borderRadius: 24,
|
borderRadius: 16,
|
||||||
borderRadiusLG: 24,
|
borderRadiusLG: 16,
|
||||||
},
|
},
|
||||||
Carousel: {
|
Carousel: {
|
||||||
colorBgContainer: lightColors["800"],
|
colorBgContainer: lightColors["800"],
|
||||||
|
|||||||
@@ -242,28 +242,32 @@ export default function OrderPage() {
|
|||||||
display: "flex",
|
display: "flex",
|
||||||
flexDirection: "row",
|
flexDirection: "row",
|
||||||
gap: "1rem",
|
gap: "1rem",
|
||||||
backgroundColor: "rgba(255, 183, 0, 0.08)",
|
backgroundColor: "#f5f5f6",
|
||||||
borderRadius: "12px",
|
borderRadius: "12px",
|
||||||
padding: 16,
|
padding: 16,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Button
|
<Button type="text" shape="circle">
|
||||||
type="text"
|
|
||||||
shape="circle"
|
|
||||||
style={{
|
|
||||||
backgroundColor: "rgba(255, 183, 0, 0.08)",
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<Image
|
<Image
|
||||||
src={orderDetails?.restaurant_iimage}
|
src={orderDetails?.restaurant_iimage}
|
||||||
className={styles.profileImage}
|
className={styles.profileImage}
|
||||||
width={50}
|
width={40}
|
||||||
height={50}
|
height={40}
|
||||||
preview={false}
|
preview={false}
|
||||||
/>
|
/>
|
||||||
</Button>
|
</Button>
|
||||||
<div>
|
<div>
|
||||||
<ProText style={{ fontSize: "1rem" }}>
|
<ProText
|
||||||
|
style={{
|
||||||
|
fontFamily:"Bold/Caption Bold",
|
||||||
|
fontSize: "12px",
|
||||||
|
lineHeight: "140%",
|
||||||
|
letterSpacing: "0%",
|
||||||
|
fontWeight: "bold",
|
||||||
|
|
||||||
|
color:"#434E5C"
|
||||||
|
}}
|
||||||
|
>
|
||||||
{t("order.yourOrderFromFascanoRestaurant")}
|
{t("order.yourOrderFromFascanoRestaurant")}
|
||||||
</ProText>
|
</ProText>
|
||||||
<br />
|
<br />
|
||||||
@@ -459,6 +463,7 @@ export default function OrderPage() {
|
|||||||
|
|
||||||
<PaymentDetails order={orderDetails?.order} />
|
<PaymentDetails order={orderDetails?.order} />
|
||||||
|
|
||||||
|
{hasClosedStatus && (
|
||||||
<Card
|
<Card
|
||||||
className={styles.inviteToBillCard}
|
className={styles.inviteToBillCard}
|
||||||
onClick={() => setIsOpen(true)}
|
onClick={() => setIsOpen(true)}
|
||||||
@@ -484,6 +489,7 @@ export default function OrderPage() {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</Card>
|
</Card>
|
||||||
|
)}
|
||||||
|
|
||||||
<QRBottomSheet isOpen={isOpen} onClose={() => setIsOpen(false)} />
|
<QRBottomSheet isOpen={isOpen} onClose={() => setIsOpen(false)} />
|
||||||
|
|
||||||
@@ -534,6 +540,7 @@ export default function OrderPage() {
|
|||||||
|
|
||||||
<CancelOrderBottomSheet />
|
<CancelOrderBottomSheet />
|
||||||
</Layout.Content>
|
</Layout.Content>
|
||||||
|
{hasClosedStatus && (
|
||||||
<Layout.Footer className={styles.checkoutButtonContainer}>
|
<Layout.Footer className={styles.checkoutButtonContainer}>
|
||||||
<Button
|
<Button
|
||||||
type="primary"
|
type="primary"
|
||||||
@@ -546,6 +553,7 @@ export default function OrderPage() {
|
|||||||
{t("order.newOrder")}
|
{t("order.newOrder")}
|
||||||
</Button>
|
</Button>
|
||||||
</Layout.Footer>
|
</Layout.Footer>
|
||||||
|
)}
|
||||||
</Layout>
|
</Layout>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user