debug header flow by mohammad
This commit is contained in:
@@ -1,19 +1,15 @@
|
||||
import {Stack} from "@mui/material";
|
||||
import {Box, Stack} from "@mui/material";
|
||||
import HeaderWithLogo from "@/components/layouts/dashboard/headerWithLogo";
|
||||
import HeaderWithSidebar from "@/components/layouts/dashboard/headerWithSidebar";
|
||||
|
||||
const headerHeight = {
|
||||
header1: 50,
|
||||
header2: 50
|
||||
}
|
||||
const offsetHeaders = headerHeight.header1 + headerHeight.header2
|
||||
|
||||
const Template = ({children}) => {
|
||||
return (<Stack>
|
||||
<HeaderWithLogo headerHeight={headerHeight}/>
|
||||
<HeaderWithSidebar offsetHeaders={offsetHeaders}>
|
||||
{children}
|
||||
</HeaderWithSidebar>
|
||||
<HeaderWithLogo/>
|
||||
<Box>
|
||||
<HeaderWithSidebar>
|
||||
{children}
|
||||
</HeaderWithSidebar>
|
||||
</Box>
|
||||
</Stack>)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user