Commit Graph

4 Commits

Author SHA1 Message Date
11656c2996 feat(home): seller brand chip (logo + name) on product tiles
Show the seller's brand on the home product cards, like the design:
a small logo circle + name overlaid above the title.

- new SellerChip component: renders nothing without a name; falls back to
  the seller's initial when no logo is present (e.g. before the backend
  ships seller_logo). seller_name is already returned today, so the name
  shows immediately.
- thread sellerName/sellerLogo/sellerUsername through ProductHomepage type,
  the home discounts + for-you mappings, and the MondrianProductList /
  HorizontalProductList card interfaces + overlays.

Only renders where seller data is mapped (home), so seller-page and
store-dashboard tiles are unaffected.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-27 16:38:44 +03:30
b45e247dda Revert "feat(home): clean discount pill on product cards"
Restore the original red discount-icon badge on product cards per
preference; revert the ٪N pill restyle.

This reverts commit eefad53.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-27 14:23:42 +03:30
eefad5387c feat(home): clean discount pill on product cards
Restyle the discount badge to the redesign's pill: ٪ + rounded Persian
digits on a translucent white rounded-full chip, no icon. Drops the raw
decimal percent (e.g. "12.7" -> "٪۱۳") and the discount-red icon import.
Applied in both the discounts rail and the for-you masonry.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-27 14:08:32 +03:30
0293655fc1 first 2026-04-29 01:44:16 +03:30