()
| 5 | import Header from './Header'; |
| 6 | |
| 7 | const MainLayout = () => ( |
| 8 | <Flex height="100vh" direction="row" overflow="hidden" bg="#fff"> |
| 9 | <Box width={{ base: '100px', md: '320px' }} bg="#fff" boxShadow="md" zIndex={5}> |
| 10 | <FilesSidebar /> |
| 11 | </Box> |
| 12 | <Box |
| 13 | flex="1" |
| 14 | display="flex" |
| 15 | flexDirection="column" |
| 16 | minWidth={0} |
| 17 | height="100vh" |
| 18 | overflow="hidden" |
| 19 | > |
| 20 | <Header /> |
| 21 | <Box |
| 22 | w="100%" |
| 23 | maxW="900px" |
| 24 | mx="auto" |
| 25 | display="flex" |
| 26 | flexDirection="column" |
| 27 | flex="1" |
| 28 | minHeight={0} |
| 29 | overflow="hidden" |
| 30 | px={{ base: 2, sm: 4, md: 8 }} |
| 31 | py={{ base: 2, md: 6 }} |
| 32 | > |
| 33 | <ChatArea /> |
| 34 | </Box> |
| 35 | </Box> |
| 36 | </Flex> |
| 37 | ); |
| 38 | |
| 39 | export default MainLayout; |
nothing calls this directly
no outgoing calls
no test coverage detected