From c28642a0003f0bd996614cb6849d951c7e276a11 Mon Sep 17 00:00:00 2001
From: trisusilo48 <tri.susilo@altama.co.id>
Date: Tue, 17 Sep 2024 14:37:18 +0700
Subject: optimize page and tag html

---
 src/pages/index.jsx | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

(limited to 'src/pages/index.jsx')

diff --git a/src/pages/index.jsx b/src/pages/index.jsx
index 0e87205e..6077c192 100644
--- a/src/pages/index.jsx
+++ b/src/pages/index.jsx
@@ -18,7 +18,7 @@ import { getAuth } from '~/libs/auth';
 import useProductDetail from '~/modules/product-detail/stores/useProductDetail';
 
 const BasicLayout = dynamic(() =>
-  import('@/core/components/layouts/BasicLayout')
+  import('@/core/components/layouts/BasicLayout'),{ssr: false}
 );
 const HeroBanner = dynamic(() => import('@/components/ui/HeroBanner'), {
   loading: () => <HeroBannerSkeleton />,
@@ -55,24 +55,24 @@ const ProgramPromotion = dynamic(() =>
 );
 
 const BannerSection = dynamic(() =>
-  import('@/lib/home/components/BannerSection')
+  import('@/lib/home/components/BannerSection'), {ssr: false}
 );  
 const CategoryHomeId = dynamic(() =>
-  import('@/lib/home/components/CategoryHomeId')
+  import('@/lib/home/components/CategoryHomeId'), {ssr: false}
 );
 
 const CategoryDynamic = dynamic(() =>
-  import('@/lib/home/components/CategoryDynamic')
+  import('@/lib/home/components/CategoryDynamic'), {ssr: false}
 );
 
 const CategoryDynamicMobile = dynamic(() =>
-import('@/lib/home/components/CategoryDynamicMobile')
+import('@/lib/home/components/CategoryDynamicMobile'), {ssr: false}
 );
 
 const CustomerReviews = dynamic(() =>
-  import('@/lib/review/components/CustomerReviews')
+  import('@/lib/review/components/CustomerReviews'), {ssr: false}
 ); // need to ssr:false
-const ServiceList = dynamic(() => import('@/lib/home/components/ServiceList')); // need to ssr: false
+const ServiceList = dynamic(() => import('@/lib/home/components/ServiceList'), {ssr: false}); // need to ssr: false
 
 
 
@@ -148,11 +148,11 @@ export default function Home({categoryId}) {
               </DelayRender>
               </>
             )}
-            <PromotinProgram />
+            {/* <PromotinProgram /> */}
             {dataCategories &&(
               <CategoryPilihan categories={dataCategories} />
             )}
-            <CategoryDynamic />
+            <CategoryDynamic /> 
             <CategoryHomeId />
             <BannerSection />
             <CustomerReviews />
@@ -183,7 +183,7 @@ export default function Home({categoryId}) {
             </>
           )}
           <DelayRender renderAfter={600}>
-            <PromotinProgram />
+            {/* <PromotinProgram /> */}
           </DelayRender>
           <DelayRender renderAfter={600}>
             {dataCategories &&(
-- 
cgit v1.2.3


From 44f9ea9e60e9dfb31fc3b9e4fbffc4767b6811a9 Mon Sep 17 00:00:00 2001
From: trisusilo48 <tri.susilo@altama.co.id>
Date: Tue, 17 Sep 2024 16:38:55 +0700
Subject: bugs kami juga suka di popup keranjang,

---
 src/pages/index.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/pages/index.jsx')

diff --git a/src/pages/index.jsx b/src/pages/index.jsx
index 6077c192..3fd0e834 100644
--- a/src/pages/index.jsx
+++ b/src/pages/index.jsx
@@ -111,7 +111,7 @@ export default function Home({categoryId}) {
           },
         ]} />
 
-      <PagePopupIformation />
+      {/* <PagePopupIformation /> */}
 
       <DesktopView>
         <div className='container mx-auto'>
-- 
cgit v1.2.3


From 9551a800b68fb9002a55a79bd6e187587a46ff2f Mon Sep 17 00:00:00 2001
From: trisusilo48 <tri.susilo@altama.co.id>
Date: Tue, 17 Sep 2024 16:58:32 +0700
Subject: uncomment component

---
 src/pages/index.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/pages/index.jsx')

diff --git a/src/pages/index.jsx b/src/pages/index.jsx
index 3fd0e834..6077c192 100644
--- a/src/pages/index.jsx
+++ b/src/pages/index.jsx
@@ -111,7 +111,7 @@ export default function Home({categoryId}) {
           },
         ]} />
 
-      {/* <PagePopupIformation /> */}
+      <PagePopupIformation />
 
       <DesktopView>
         <div className='container mx-auto'>
-- 
cgit v1.2.3

