aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/frontend/src/App.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/frontend/src/App.tsx')
-rw-r--r--subprojects/frontend/src/App.tsx19
1 files changed, 5 insertions, 14 deletions
diff --git a/subprojects/frontend/src/App.tsx b/subprojects/frontend/src/App.tsx
index 12c66eb9..3a25f43a 100644
--- a/subprojects/frontend/src/App.tsx
+++ b/subprojects/frontend/src/App.tsx
@@ -1,23 +1,14 @@
1import Box from '@mui/material/Box'; 1import Stack from '@mui/material/Stack';
2import Toolbar from '@mui/material/Toolbar';
3import React from 'react'; 2import React from 'react';
4 3
5import TopBar from './TopBar'; 4import TopBar from './TopBar';
6import EditorArea from './editor/EditorArea'; 5import EditorPane from './editor/EditorPane';
7import EditorButtons from './editor/EditorButtons';
8import GenerateButton from './editor/GenerateButton';
9 6
10export default function App(): JSX.Element { 7export default function App(): JSX.Element {
11 return ( 8 return (
12 <Box display="flex" flexDirection="column" sx={{ height: '100vh' }}> 9 <Stack direction="column" height="100vh" overflow="auto">
13 <TopBar /> 10 <TopBar />
14 <Toolbar variant="dense"> 11 <EditorPane />
15 <EditorButtons /> 12 </Stack>
16 <GenerateButton />
17 </Toolbar>
18 <Box flexGrow={1} flexShrink={1} overflow="auto">
19 <EditorArea />
20 </Box>
21 </Box>
22 ); 13 );
23} 14}