feat: refacotor ui

This commit is contained in:
ferdiansyah783
2025-08-08 01:49:00 +07:00
parent 687f59a9fa
commit 7beee4c3a1
19 changed files with 196 additions and 91 deletions
@@ -3,12 +3,11 @@ import Grid from '@mui/material/Grid2'
// Component Imports
import ProductAddHeader from '@views/apps/ecommerce/products/add/ProductAddHeader'
import ProductInformation from '@views/apps/ecommerce/products/add/ProductInformation'
import ProductImage from '@views/apps/ecommerce/products/add/ProductImage'
import ProductVariants from '@views/apps/ecommerce/products/add/ProductVariants'
import ProductInventory from '@views/apps/ecommerce/products/add/ProductInventory'
import ProductPricing from '@views/apps/ecommerce/products/add/ProductPricing'
import ProductInformation from '@views/apps/ecommerce/products/add/ProductInformation'
import ProductOrganize from '@views/apps/ecommerce/products/add/ProductOrganize'
import ProductPricing from '@views/apps/ecommerce/products/add/ProductPricing'
import ProductVariants from '@views/apps/ecommerce/products/add/ProductVariants'
const eCommerceProductsAdd = () => {
return (
@@ -27,9 +26,6 @@ const eCommerceProductsAdd = () => {
<Grid size={{ xs: 12 }}>
<ProductVariants />
</Grid>
<Grid size={{ xs: 12 }}>
<ProductInventory />
</Grid>
</Grid>
</Grid>
<Grid size={{ xs: 12, md: 4 }}>
@@ -2,7 +2,6 @@
import Grid from '@mui/material/Grid2'
// Component Imports
import ProductCard from '@views/apps/ecommerce/products/list/ProductCard'
import ProductListTable from '@views/apps/ecommerce/products/list/ProductListTable'
// Data Imports
@@ -29,9 +28,6 @@ const eCommerceProductsList = async () => {
return (
<Grid container spacing={6}>
<Grid size={{ xs: 12 }}>
<ProductCard />
</Grid>
<Grid size={{ xs: 12 }}>
<ProductListTable />
</Grid>
@@ -67,7 +67,7 @@ const Layout = async (props: ChildrenType & { params: Promise<{ lang: Locale }>
<i className='tabler-arrow-up' />
</Button>
</ScrollToTop>
<Customizer dir={direction} />
{/* <Customizer dir={direction} /> */}
</AuthGuard>
</Providers>
)