From 85e0a7e47db518fb5fb2531b2ea7c6d50408875f Mon Sep 17 00:00:00 2001
From: "HATEC\\SPVDEV001" <tri.susilo@altama.co.id>
Date: Fri, 20 Oct 2023 14:02:51 +0700
Subject: logo brand di page brand

---
 src/lib/brand/components/Brand.jsx | 24 ++++--------------------
 1 file changed, 4 insertions(+), 20 deletions(-)

(limited to 'src/lib/brand/components/Brand.jsx')

diff --git a/src/lib/brand/components/Brand.jsx b/src/lib/brand/components/Brand.jsx
index 4afbcb3e..78a9d5bd 100644
--- a/src/lib/brand/components/Brand.jsx
+++ b/src/lib/brand/components/Brand.jsx
@@ -20,8 +20,8 @@ const swiperBanner = {
   modules: [Pagination, Autoplay]
 }
 
-const Brand = ({ id }) => {
-  const { brand } = useBrand({ id })
+const Brand = ({ brand }) => {
+  // const { brand } = useBrand({ id })
 
   return (
     <>
@@ -91,7 +91,7 @@ const Brand = ({ id }) => {
       </MobileView>
 
       <DesktopView>
-        <div className='container mx-auto'>
+        <div className='container mx-auto mb-10'>
           <Skeleton
             isLoaded={!brand.isLoading}
             aspectRatio='4/1'
@@ -131,23 +131,7 @@ const Brand = ({ id }) => {
                   ))}
                 </Swiper>
 
-                <div className='p-4'>
-                  <div className='text-caption-1 text-gray_r-11 mb-2'>Produk dari brand:</div>
-                  {brand?.data?.logo && (
-                    <Image
-                      src={brand?.data?.logo}
-                      alt={brand?.data?.name}
-                      className='w-32 p-2 border borde-gray_r-6 rounded'
-                      width={1024}
-                      height={512}
-                    />
-                  )}
-                  {!brand?.data?.logo && (
-                    <div className='bg-danger-500 text-white text-center text-body-1 py-2 px-4 rounded w-fit'>
-                      {brand?.data?.name}
-                    </div>
-                  )}
-                </div>
+                
               </>
             )}
           </Skeleton>
-- 
cgit v1.2.3

