MCPcopy Create free account
hub / github.com/TAMustafa/Local_Chat_RAG / MainLayout

Function MainLayout

frontend/src/components/Layout/MainLayout.tsx:7–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5import Header from './Header';
6
7const 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
39export default MainLayout;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected