Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

CheckoutContent.jsx 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. import { Breadcrumbs, Divider, Grid, Typography } from '@mui/material';
  2. import { Box } from '@mui/system';
  3. import DataCard from '../cards/data-card/DataCard';
  4. import ShippingDetailsForm from '../forms/shipping-details/ShippingDetailsForm';
  5. const CheckoutContent = () => {
  6. return (
  7. <Grid container spacing={2} sx={{ py: 10, height: '100%', width: '100%' }}>
  8. <Grid item xs={12}>
  9. <Typography
  10. variant="h3"
  11. sx={{ pl: 12, mt: 12, height: '100%', color: 'primary.main' }}
  12. >
  13. Checkout
  14. </Typography>
  15. </Grid>
  16. <Grid item xs={12}>
  17. <Divider sx={{ backgroundColor: 'primary.main', mx: 12 }} />
  18. </Grid>
  19. <Grid item xs={12} sx={{ mt: 4 }}>
  20. <Breadcrumbs
  21. aria-label="breadcrumb"
  22. separator="›"
  23. sx={{ pl: 12, fontSize: 20 }}
  24. >
  25. <Typography>Cart</Typography>
  26. <Typography color="red">Checkout</Typography>
  27. </Breadcrumbs>
  28. </Grid>
  29. <Grid item xs={12} sx={{ mt: 1 }}>
  30. <Typography sx={{ pl: 12, fontSize: 20 }}>
  31. The following fields will be used as the shipping details for your
  32. order
  33. </Typography>
  34. </Grid>
  35. <Grid item xs={8}>
  36. <ShippingDetailsForm backBtn={true}></ShippingDetailsForm>
  37. </Grid>
  38. <Grid item xs={4}>
  39. <Box sx={{ width: '80%', mt: 2 }}>
  40. <DataCard></DataCard>
  41. <DataCard></DataCard>
  42. <DataCard></DataCard>
  43. </Box>
  44. </Grid>
  45. </Grid>
  46. );
  47. };
  48. export default CheckoutContent;