feat: adding the table with products

This commit is contained in:
Rodolfo Ruiz
2025-06-03 20:53:13 -06:00
parent 98f6f9814d
commit b3f939ccdc
7 changed files with 144 additions and 6 deletions

View File

@@ -67,7 +67,7 @@ export default function AppHeader({ zone = 'public' }) {
)}
{/* Rendering the Drawer */}
<MenuDrawer zone={zone} open={menuOpen} onClose={() => setMenuOpen(false)} />
<MenuDrawer zone='private' open={menuOpen} onClose={() => setMenuOpen(false)} />
</Toolbar>
</AppBar>

View File

@@ -14,7 +14,7 @@ export default function MenuDrawer({ zone = 'public', open, onClose }) {
<Drawer anchor="left" open={open} onClose={onClose} slotProps={{
paper: {
sx: {
backgroundColor: '#000000a0', // negro semitransparente
backgroundColor: '#000000a0',
width: isMobile ? '100vw' : 250,
},
},

View File

@@ -0,0 +1,18 @@
import { Box } from '@mui/material';
export default function SectionContainer({ children, maxWidth = 'lg', sx = {} }) {
return (
<Box
sx={{
width: '100%',
maxWidth,
mx: 'auto',
px: { xs: 2, md: 4 },
py: { xs: 3, md: 5 },
...sx,
}}
>
{children}
</Box>
);
}