summaryrefslogtreecommitdiff
path: root/src/lib/brand
diff options
context:
space:
mode:
authorHATEC\SPVDEV001 <tri.susilo@altama.co.id>2023-03-28 09:21:04 +0700
committerHATEC\SPVDEV001 <tri.susilo@altama.co.id>2023-03-28 09:21:04 +0700
commitfd2a6bcf2f17a6dbcbfb3ca04ebf2c4d66d43437 (patch)
treef6e7c1407b112e9368a5f06089a84b52c52985c4 /src/lib/brand
parente77ab00b04426f85d04d211f5ab4a511e754ed4f (diff)
brand list
Diffstat (limited to 'src/lib/brand')
-rw-r--r--src/lib/brand/components/Brands.jsx12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/lib/brand/components/Brands.jsx b/src/lib/brand/components/Brands.jsx
index 22f47975..777e05ac 100644
--- a/src/lib/brand/components/Brands.jsx
+++ b/src/lib/brand/components/Brands.jsx
@@ -1,5 +1,7 @@
import odooApi from '@/core/api/odooApi'
import Spinner from '@/core/components/elements/Spinner/Spinner'
+import DesktopView from '@/core/components/views/DesktopView'
+import MobileView from '@/core/components/views/MobileView'
import { useCallback, useEffect, useState } from 'react'
import BrandCard from './BrandCard'
@@ -37,9 +39,11 @@ const Brands = () => {
if (isLoading) {
return (
- <div className='flex justify-center my-4'>
- <Spinner className='w-6 text-gray_r-12/50 fill-gray_r-12' />
- </div>
+ <>
+ <div className='container flex justify-center my-4'>
+ <Spinner className='w-6 text-gray_r-12/50 fill-gray_r-12 md:w-20 md:mt-28' />
+ </div>
+ </>
)
}
@@ -62,7 +66,7 @@ const Brands = () => {
))}
</div>
- <div className='grid grid-cols-4 gap-4 mt-4 !overflow-x-hidden'>
+ <div className='grid grid-cols-4 gap-4 mt-4 md:grid-cols-7 !overflow-x-hidden'>
{manufactures?.map(
(manufacture, index) =>
manufacture.name && (