feat: adding the table with products
This commit is contained in:
		| @@ -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> | ||||
|   | ||||
| @@ -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, | ||||
|           }, | ||||
|         }, | ||||
|   | ||||
							
								
								
									
										18
									
								
								src/components/SectionContainer.jsx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								src/components/SectionContainer.jsx
									
									
									
									
									
										Normal 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> | ||||
|   ); | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Rodolfo Ruiz
					Rodolfo Ruiz