Download apps/web/src/layouts/base.tsx from techpark/rsswx: direct link, hf CLI and curl.
- Browser
- Download file 431 Bytes
-
https://huggingface.co/spaces/techpark/rsswx/resolve/main/apps/web/src/layouts/base.tsx
- Command line
-
hf download hf://spaces/techpark/rsswx/apps/web/src/layouts/base.tsx
-
curl -L -o base.tsx https://huggingface.co/spaces/techpark/rsswx/resolve/main/apps/web/src/layouts/base.tsx
431 Bytes
| import { Toaster } from 'sonner'; | |
| import { Outlet } from 'react-router-dom'; | |
| import Nav from '../components/Nav'; | |
| export function BaseLayout() { | |
| return ( | |
| <div> | |
| <main className="h-screen overflow-hidden"> | |
| <Nav></Nav> | |
| <div className="h-[calc(100vh-64px)] max-w-[1280px] mx-auto pb-6"> | |
| <Outlet /> | |
| </div> | |
| </main> | |
| <Toaster richColors position="top-right" /> | |
| </div> | |
| ); | |
| } | |