Difficulty: Advanced — please only pick this up if you are comfortable with complex UI + interactive components.
Description:
Implement the Hero Section for the Product Detail Page.
This section is the first thing the user sees when they open a specific product. It contains product images, description, reviews, flavors, sizes, and purchase actions.
Requirements:
- Layout:
- Two-column layout:
- Left side:
- Large product image (main image)
- 5 small thumbnails below/side (on hover or click → update the main image)
- Left/right arrows → cycle through product images
- Right side:
- Product stars + number of reviews
- Product name
- Product description
- Flavors:
- Show all flavors with thumbnail images
- On hover → show flavor name
- On click → update main image and mark flavor as selected
- Sizes:
- Options like
2lb, 4lb
- On click → highlight selected size
- Quantity selector (+/- buttons)
- Buttons:
Add to Cart: adds item to cart but stays on page
Buy It Now: redirects to /cart page
Assets:

Acceptance Criteria:
- Layout matches the Figma design
- User can click thumbnails to switch main image
- Arrows correctly cycle through images
- Hover over flavors shows flavor name; clicking updates the displayed product
- User can select size, only one size at a time
- Quantity can increase/decrease without page reload
- Clicking Add to Cart → adds item to cart, but keeps user on product page
- Clicking Buy It Now → redirects user to cart page with product added
- All interactions are smooth and responsive (basic desktop-first, mobile later task)
⚠️ Note:
- This is a core feature of the products page — only skilled contributors with React/Tailwind experience should pick it up.
- Fetch product data from
https://corexshoptest.onrender.com/api/products/:id
Difficulty: Advanced — please only pick this up if you are comfortable with complex UI + interactive components.
Description:
Implement the Hero Section for the Product Detail Page.
This section is the first thing the user sees when they open a specific product. It contains product images, description, reviews, flavors, sizes, and purchase actions.
Requirements:
2lb,4lbAdd to Cart: adds item to cart but stays on pageBuy It Now: redirects to/cartpageAssets:
Acceptance Criteria: