2024-04-30 09:27:42 +00:00
|
|
|
import { Box, Flex } from '@chakra-ui/react';
|
2023-06-28 01:12:17 +00:00
|
|
|
|
2024-04-30 09:27:42 +00:00
|
|
|
import { Footer } from '../Nav/Footer';
|
|
|
|
import { Nav } from '../Nav/Nav';
|
|
|
|
import { ProfileDrawer } from '../Nav/ProfileDrawer';
|
2023-08-14 01:34:50 +00:00
|
|
|
|
|
|
|
export const Main = (props) => {
|
2023-06-28 01:12:17 +00:00
|
|
|
return (
|
2023-06-29 23:41:06 +00:00
|
|
|
<Flex
|
2023-08-22 11:31:37 +00:00
|
|
|
sx={{
|
2024-04-30 09:27:42 +00:00
|
|
|
'*': {
|
|
|
|
whiteSpace: 'pre-wrap'
|
|
|
|
}
|
2023-08-22 11:31:37 +00:00
|
|
|
}}
|
2023-08-14 01:34:50 +00:00
|
|
|
position="relative"
|
|
|
|
alignItems="center"
|
|
|
|
justifyContent="center"
|
|
|
|
flexDirection="column"
|
|
|
|
overflow="hidden"
|
2024-04-30 09:27:42 +00:00
|
|
|
width="100%"
|
|
|
|
minH="100vh"
|
2023-08-14 01:34:50 +00:00
|
|
|
maxWidth="100vw"
|
2023-06-29 23:41:06 +00:00
|
|
|
>
|
|
|
|
{/* <ProfileDrawer></ProfileDrawer> */}
|
2023-06-28 01:12:17 +00:00
|
|
|
<Nav />
|
2024-04-30 09:27:42 +00:00
|
|
|
<Flex
|
|
|
|
position="relative"
|
|
|
|
alignItems="center"
|
|
|
|
justifyContent="center"
|
|
|
|
flexDirection="column"
|
|
|
|
overflow="hidden"
|
|
|
|
width="100%"
|
|
|
|
minH="100vh"
|
|
|
|
maxWidth="100vw"
|
|
|
|
>
|
2023-08-14 01:34:50 +00:00
|
|
|
{props.children}
|
2024-04-30 09:27:42 +00:00
|
|
|
</Flex>
|
2023-08-14 01:34:50 +00:00
|
|
|
<Footer></Footer>
|
2023-06-28 01:12:17 +00:00
|
|
|
</Flex>
|
2024-04-30 09:27:42 +00:00
|
|
|
);
|
|
|
|
};
|