21 lines
438 B
TypeScript
Raw Normal View History

2023-06-28 01:12:17 +00:00
import { Flex } from '@chakra-ui/react'
import { Nav } from '../Nav/Nav'
import { ProfileDrawer } from '../Nav/ProfileDrawer'
2023-06-28 01:12:17 +00:00
export const Main = props => {
return (
<Flex
position={'relative'}
alignItems='center'
justifyContent='center'
flexDir={'column'}
overflow='hidden'
maxW='100vw'
>
{/* <ProfileDrawer></ProfileDrawer> */}
2023-06-28 01:12:17 +00:00
<Nav />
{props.children}
</Flex>
)
}