From 290114b315a2f478113918cd8fc37737a47f8e70 Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Tue, 20 Jun 2023 09:01:38 +0700 Subject: Update UI style --- src/components/ui/HeroBanner.jsx | 2 +- src/components/ui/PopularProduct.jsx | 4 ++-- src/lib/home/components/CategoryHomeId.jsx | 2 +- src/lib/home/components/PreferredBrand.jsx | 4 ++-- src/lib/review/components/CustomerReviews.jsx | 2 +- src/pages/_app.jsx | 2 +- src/pages/index.jsx | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) (limited to 'src') diff --git a/src/components/ui/HeroBanner.jsx b/src/components/ui/HeroBanner.jsx index d7d3d854..6cf7902c 100644 --- a/src/components/ui/HeroBanner.jsx +++ b/src/components/ui/HeroBanner.jsx @@ -21,7 +21,7 @@ const swiperBanner = { }, modules: [Pagination, Autoplay], loop: true, - className: 'border border-gray_r-6', + className: 'border border-gray_r-6 min-h-full', slidesPerView: 1 } diff --git a/src/components/ui/PopularProduct.jsx b/src/components/ui/PopularProduct.jsx index 211291c8..bbbd18bc 100644 --- a/src/components/ui/PopularProduct.jsx +++ b/src/components/ui/PopularProduct.jsx @@ -16,14 +16,14 @@ const PopularProduct = () => { <>
-
Produk Banyak Dilihat
+
Produk Banyak Dilihat
-
+
Produk Banyak Dilihat
diff --git a/src/lib/home/components/CategoryHomeId.jsx b/src/lib/home/components/CategoryHomeId.jsx index 3707063c..71428e27 100644 --- a/src/lib/home/components/CategoryHomeId.jsx +++ b/src/lib/home/components/CategoryHomeId.jsx @@ -7,7 +7,7 @@ const CategoryHomeId = () => { return (
-
Kategori Pilihan
+
Kategori Pilihan
{categoryHomeIds.data?.map((id) => ( diff --git a/src/lib/home/components/PreferredBrand.jsx b/src/lib/home/components/PreferredBrand.jsx index 34c50220..55abe0b7 100644 --- a/src/lib/home/components/PreferredBrand.jsx +++ b/src/lib/home/components/PreferredBrand.jsx @@ -12,9 +12,9 @@ const PreferredBrand = () => { return (
-
Brand Pilihan
+
Brand Pilihan
{isDesktop && ( - + Lihat Semua )} diff --git a/src/lib/review/components/CustomerReviews.jsx b/src/lib/review/components/CustomerReviews.jsx index 5cc179e9..7cad52fb 100644 --- a/src/lib/review/components/CustomerReviews.jsx +++ b/src/lib/review/components/CustomerReviews.jsx @@ -12,7 +12,7 @@ const CustomerReviews = () => { return (
-
Ulasan Konsumen Kami
+
Ulasan Konsumen Kami
diff --git a/src/pages/_app.jsx b/src/pages/_app.jsx index 089622da..a8d18917 100644 --- a/src/pages/_app.jsx +++ b/src/pages/_app.jsx @@ -53,7 +53,7 @@ function MyApp({ Component, pageProps }) { { wrapperRef.current.style.height = - bannerRef.current.querySelector(':first-child').clientHeight + 'px' + bannerRef.current?.querySelector(':first-child')?.clientHeight + 'px' } return ( -- cgit v1.2.3