developer-job-simulation/react-ecommerce

Need to display "Empty Cart" when cart is empty on cart page

sbmsr opened this issue · 0 comments

sbmsr commented

Description

When a user clicks the cart icon, they see alot of blank whitespace. Our designers want us to show some content to fill this blank space. We need to complete this using flexbox, since it is our team's preferred method of CSS alignment.

Notes from Design Team

Mockup

image

  • Icon

    • Use the shoppingCartIcon from heroicons library (currently installed in the project)
    • Limit Width of icon to 3rem (48px)
  • Text

    • The text must say "Your Cart is Empty."
    • Have a padding on top of text of .5 rem (8px)

Resources

Deliverables

  • implement mockup on cart page (when cart is empty) using flexbox