Spaces:
Running
Running
Download src/components/Layout.jsx from pollen-robotics/Reachy_Mini: direct link, hf CLI and curl.
- Browser
- Download file 448 Bytes
-
https://huggingface.co/spaces/pollen-robotics/Reachy_Mini/resolve/refs%2Fpr%2F2/src/components/Layout.jsx
- Command line
-
hf download hf://spaces/pollen-robotics/Reachy_Mini@refs/pr/2/src/components/Layout.jsx
-
curl -L -o Layout.jsx https://huggingface.co/spaces/pollen-robotics/Reachy_Mini/resolve/refs%2Fpr%2F2/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> | |
| ); | |
| } | |