| passHref | passHref | ||||
| > | > | ||||
| <Image | <Image | ||||
| src="/images/product-card-image.jpg" | |||||
| src={product.image} | |||||
| alt="product image" | alt="product image" | ||||
| width={630} | |||||
| width={500} | |||||
| height={390} | height={390} | ||||
| /> | /> | ||||
| </NextLink> | </NextLink> | ||||
| {product.name} | {product.name} | ||||
| </Typography> | </Typography> | ||||
| <Typography | <Typography | ||||
| sx={{ height: { xs: '200px', sm: '250px', md: '200px' } }} | |||||
| sx={{ | |||||
| height: { xs: '200px', sm: '250px', md: '250px', lg: '200px' }, | |||||
| }} | |||||
| align="center" | align="center" | ||||
| fontSize="18px" | fontSize="18px" | ||||
| m={2} | m={2} |
| }} | }} | ||||
| > | > | ||||
| <Typography sx={{ fontSize: 18, fontWeight: 600 }}> | <Typography sx={{ fontSize: 18, fontWeight: 600 }}> | ||||
| Total: ${orderData?.totalPrice.toFixed(2)} | |||||
| Total: ${orderData?.totalPrice} | |||||
| </Typography> | </Typography> | ||||
| </Box> | </Box> | ||||
| <Box | <Box |