summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2024-03-05 13:22:30 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2024-03-05 13:22:30 +0700
commit87bc6b410b875d6f811e21e1e1d6f974e7cac653 (patch)
tree8d88d5f729acacc81708c61d4976c5b8d04cacec
parent1113f6ab09ebec64d1f458d9177e6f2339ce554f (diff)
Update background flash sale
-rw-r--r--public/images/BG-FLASH-SALE-DEFAULT.jpg (renamed from public/images/GAMBAR-BG-FLASH-SALE.jpg)bin21334 -> 21334 bytes
-rw-r--r--public/images/BG-FLASH-SALE.jpgbin0 -> 17079 bytes
-rw-r--r--src-migrate/modules/product-detail/components/Image.tsx2
-rw-r--r--src/lib/product/components/Product/ProductDesktop.jsx2
-rw-r--r--src/lib/product/components/Product/ProductMobile.jsx2
-rw-r--r--src/lib/product/components/ProductCard.jsx2
6 files changed, 4 insertions, 4 deletions
diff --git a/public/images/GAMBAR-BG-FLASH-SALE.jpg b/public/images/BG-FLASH-SALE-DEFAULT.jpg
index db26136a..db26136a 100644
--- a/public/images/GAMBAR-BG-FLASH-SALE.jpg
+++ b/public/images/BG-FLASH-SALE-DEFAULT.jpg
Binary files differ
diff --git a/public/images/BG-FLASH-SALE.jpg b/public/images/BG-FLASH-SALE.jpg
new file mode 100644
index 00000000..15b1f927
--- /dev/null
+++ b/public/images/BG-FLASH-SALE.jpg
Binary files differ
diff --git a/src-migrate/modules/product-detail/components/Image.tsx b/src-migrate/modules/product-detail/components/Image.tsx
index b69cc87f..3d7777f8 100644
--- a/src-migrate/modules/product-detail/components/Image.tsx
+++ b/src-migrate/modules/product-detail/components/Image.tsx
@@ -67,7 +67,7 @@ const Image = ({ product }: Props) => {
<div className='absolute bottom-0 w-full h-14'>
<div className="relative w-full h-full">
<ImageUI
- src='/images/GAMBAR-BG-FLASH-SALE.jpg'
+ src='/images/BG-FLASH-SALE.jpg'
alt='Flash Sale Indoteknik'
width={200}
height={100}
diff --git a/src/lib/product/components/Product/ProductDesktop.jsx b/src/lib/product/components/Product/ProductDesktop.jsx
index a12b8609..444ddd8e 100644
--- a/src/lib/product/components/Product/ProductDesktop.jsx
+++ b/src/lib/product/components/Product/ProductDesktop.jsx
@@ -235,7 +235,7 @@ const ProductDesktop = ({ products, wishlist, toggleWishlist }) => {
<ImageNext
src={
backgorundFlashSale ||
- '/images/GAMBAR-BG-FLASH-SALE.jpg'
+ '/images/BG-FLASH-SALE.jpg'
}
width={1000}
height={100}
diff --git a/src/lib/product/components/Product/ProductMobile.jsx b/src/lib/product/components/Product/ProductMobile.jsx
index e9e64469..50a59655 100644
--- a/src/lib/product/components/Product/ProductMobile.jsx
+++ b/src/lib/product/components/Product/ProductMobile.jsx
@@ -203,7 +203,7 @@ const ProductMobile = ({ product, wishlist, toggleWishlist }) => {
<div className='absolute bottom-0 w-full'>
<ImageNext
src={
- backgorundFlashSale || '/images/GAMBAR-BG-FLASH-SALE.jpg'
+ backgorundFlashSale || '/images/BG-FLASH-SALE.jpg'
}
width={1000}
height={100}
diff --git a/src/lib/product/components/ProductCard.jsx b/src/lib/product/components/ProductCard.jsx
index 9908a573..38ed35f8 100644
--- a/src/lib/product/components/ProductCard.jsx
+++ b/src/lib/product/components/ProductCard.jsx
@@ -50,7 +50,7 @@ const ProductCard = ({ product, simpleTitle, variant = 'vertical' }) => {
<div className='absolute bottom-0 w-full grid'>
<div className='absolute bottom-0 w-full h-full'>
<ImageNext
- src='/images/GAMBAR-BG-FLASH-SALE.jpg'
+ src='/images/BG-FLASH-SALE.jpg'
className='h-full'
width={1000}
height={100}