summaryrefslogtreecommitdiff
path: root/src/lib/home/components
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2024-07-16 08:53:39 +0000
committerIT Fixcomart <it@fixcomart.co.id>2024-07-16 08:53:39 +0000
commit1d2e70e1c348e8e0c437cedc548bd7a07d95e16f (patch)
tree5b574ccc68b69e77b6f1c19b94f2514628584ca1 /src/lib/home/components
parent0b2384079c06596d39295de52bf604bfb6449105 (diff)
parent937013e8bf9f176c18a31d94205b9116d2a02224 (diff)
Merged in Feature/all-promotion (pull request #167)
Feature/all promotion
Diffstat (limited to 'src/lib/home/components')
-rw-r--r--src/lib/home/components/PreferredBrand.jsx5
-rw-r--r--src/lib/home/components/PromotionProgram.jsx5
2 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/home/components/PreferredBrand.jsx b/src/lib/home/components/PreferredBrand.jsx
index ec09aa4e..6b64a444 100644
--- a/src/lib/home/components/PreferredBrand.jsx
+++ b/src/lib/home/components/PreferredBrand.jsx
@@ -48,6 +48,11 @@ const PreferredBrand = () => {
Lihat Semua
</Link>
)}
+ {isMobile && (
+ <Link href='/shop/brands' className='!text-red-500 font-semibold sm:text-h-sm'>
+ Lihat Semua
+ </Link>
+ )}
</div>
{manufactures.isLoading && <PreferredBrandSkeleton />}
{!manufactures.isLoading && (
diff --git a/src/lib/home/components/PromotionProgram.jsx b/src/lib/home/components/PromotionProgram.jsx
index 5034fd28..99258d94 100644
--- a/src/lib/home/components/PromotionProgram.jsx
+++ b/src/lib/home/components/PromotionProgram.jsx
@@ -17,6 +17,11 @@ const BannerSection = () => {
Lihat Semua
</Link>
)}
+ {isMobile && (
+ <Link href='/shop/promo' className='!text-red-500 font-semibold sm:text-h-sm'>
+ Lihat Semua
+ </Link>
+ )}
</div>
{isDesktop && (promotionProgram.data &&
promotionProgram.data?.length > 0 && (