You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create ProductCard component that takes in productInfo to display.
Create in /products/_components/ProductCard/ProductCard.tsx
Create the scss module in the same place
I would recommend having the width be determined by the parent element: width: 100%. The height should be determined by the content inside so you don't hardcode it.
If some of the text is multiline, just truncate it so it's one line and keeps all productCards the same height.
To determine the height of the picture, just use aspect ratio to bind that height to the width of the product.
For now, the buttons don't have to do anything.
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: