2023-05-07 22:29:37 +00:00
|
|
|
import { Box, Center, Container } from '@chakra-ui/react';
|
2023-05-07 19:11:16 +00:00
|
|
|
import { SelectFile } from './SelectFile';
|
|
|
|
|
2023-05-07 22:29:37 +00:00
|
|
|
import { FileListing } from './features/file-listing/FileListing';
|
|
|
|
import { Footer } from './Footer';
|
2023-05-10 21:01:32 +00:00
|
|
|
import { WasmTest } from './WasmTest';
|
2023-05-07 22:29:37 +00:00
|
|
|
|
2023-05-07 19:11:16 +00:00
|
|
|
function App() {
|
|
|
|
return (
|
2023-05-07 22:29:37 +00:00
|
|
|
<Box height="full" width="full" pt="4">
|
|
|
|
<Container maxW="container.large">
|
|
|
|
<Center>
|
|
|
|
<SelectFile />
|
|
|
|
</Center>
|
|
|
|
<Box mt="8">
|
|
|
|
<FileListing />
|
|
|
|
</Box>
|
2023-05-10 21:01:32 +00:00
|
|
|
{localStorage.__dev_test === '1' && <WasmTest />}
|
2023-05-07 22:29:37 +00:00
|
|
|
<Footer />
|
|
|
|
</Container>
|
|
|
|
</Box>
|
2023-05-07 19:11:16 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
export default App;
|