Add replaceable placeholder images with unique img src paths.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-08-13 14:11:30 +03:30
co-authored by Cursor
parent 141f1a30be
commit 1272977923
53 changed files with 302 additions and 19 deletions
@@ -11,6 +11,8 @@ function SpecialSaleBanner() {
className="relative w-[220px] shrink-0 self-stretch overflow-hidden rounded-xl border border-border md:w-[240px]"
>
<Placeholder
src="/images/sale-banner.svg"
alt="فروش ویژه"
width="100%"
label="240×380"
className="h-full min-h-[380px] w-full rounded-none border-0"
@@ -38,6 +40,7 @@ export function SpecialSaleCarousel() {
price={product.price}
oldPrice={product.oldPrice}
discount={product.discount}
image={product.image}
variant="sale"
/>
))}