This commit is contained in:
Malai Raja
2023-11-27 19:09:26 +05:30
parent 7113ac0681
commit b3371d3bc0
20 changed files with 3176 additions and 2314 deletions

View File

@@ -1,7 +1,7 @@
import { useMemo } from 'react';
// material-ui
import { Box, useMediaQuery } from '@mui/material';
import { Box, useMediaQuery ,Stack} from '@mui/material';
// project import
import Search from './Search';
@@ -21,7 +21,10 @@ const HeaderContent = () => {
return (
<>
{!matchesXs && <Search />}
{/* {!matchesXs && <Search />} */}
<Stack
width='100%'
direction='row' justifyContent='flex-end' spacing={2} alignItems='center'>
{!matchesXs && megaMenu}
{matchesXs && <Box sx={{ width: '100%', ml: 1 }} />}
@@ -29,6 +32,7 @@ const HeaderContent = () => {
<Message />
{!matchesXs && <Profile />}
{matchesXs && <MobileSection />}
</Stack>
</>
);
};