Spaces:
Runtime error
Runtime error
Download src/components/Layout.jsx from 00Boobs00/Reachy_Mini: direct link, hf CLI and curl.
- Browser
- Download file 448 Bytes
-
https://huggingface.co/spaces/00Boobs00/Reachy_Mini/resolve/main/src/components/Layout.jsx
- Command line
-
hf download hf://spaces/00Boobs00/Reachy_Mini/src/components/Layout.jsx
-
curl -L -o Layout.jsx https://huggingface.co/spaces/00Boobs00/Reachy_Mini/resolve/main/src/components/Layout.jsx
448 Bytes
| import { Box } from '@mui/material'; | |
| import Header from './Header'; | |
| import Footer from './Footer'; | |
| export default function Layout({ children, transparentHeader = false }) { | |
| return ( | |
| <Box sx={{ minHeight: '100vh', display: 'flex', flexDirection: 'column', overflowX: 'hidden' }}> | |
| <Header transparent={transparentHeader} /> | |
| <Box component="main" sx={{ flex: 1 }}> | |
| {children} | |
| </Box> | |
| <Footer /> | |
| </Box> | |
| ); | |
| } | |