Download frontend/src/components/layout/AppLayout.tsx from Punit1/Enterprise-AI-Copilot: direct link, hf CLI and curl.
- Browser
- Download file 510 Bytes
-
https://huggingface.co/spaces/Punit1/Enterprise-AI-Copilot/resolve/main/frontend/src/components/layout/AppLayout.tsx
- Command line
-
hf download hf://spaces/Punit1/Enterprise-AI-Copilot/frontend/src/components/layout/AppLayout.tsx
-
curl -L -o AppLayout.tsx https://huggingface.co/spaces/Punit1/Enterprise-AI-Copilot/resolve/main/frontend/src/components/layout/AppLayout.tsx
510 Bytes
| import { Outlet } from 'react-router-dom'; | |
| import Sidebar from './Sidebar'; | |
| import Header from './Header'; | |
| export default function AppLayout() { | |
| return ( | |
| <div className="flex h-screen bg-dark-950 overflow-hidden"> | |
| {/* Sidebar */} | |
| <Sidebar /> | |
| {/* Main content */} | |
| <div className="flex flex-col flex-1 min-w-0 h-full overflow-hidden"> | |
| <Header /> | |
| <main className="flex-1 overflow-y-auto min-h-0"> | |
| <Outlet /> | |
| </main> | |
| </div> | |
| </div> | |
| ); | |
| } | |