Spaces:
Paused
Paused
Download packages/docs/src/app/(docs)/layout.tsx from f4b404/aiostreams: direct link, hf CLI and curl.
- Browser
- Download file 982 Bytes
-
https://huggingface.co/spaces/f4b404/aiostreams/resolve/main/packages/docs/src/app/(docs)/layout.tsx
- Command line
-
hf download 'hf://spaces/f4b404/aiostreams/packages/docs/src/app/(docs)/layout.tsx'
-
curl -L -o layout.tsx 'https://huggingface.co/spaces/f4b404/aiostreams/resolve/main/packages/docs/src/app/(docs)/layout.tsx'
982 Bytes
| import { source } from '@/lib/source'; | |
| import { DocsLayout } from 'fumadocs-ui/layouts/docs'; | |
| import { baseOptions } from '@/lib/layout.shared'; | |
| import { SiKofi, SiGithubsponsors, SiDiscord } from 'react-icons/si'; | |
| export default function Layout({ children }: LayoutProps<'/'>) { | |
| return ( | |
| <DocsLayout | |
| tree={source.getPageTree()} | |
| {...baseOptions()} | |
| links={[ | |
| { | |
| type: 'icon', | |
| text: 'Discord', | |
| url: 'https://discord.viren070.me', | |
| icon: <SiDiscord />, | |
| external: true, | |
| }, | |
| { | |
| type: 'icon', | |
| text: 'Ko-fi', | |
| url: 'https://ko-fi.com/viren070', | |
| icon: <SiKofi />, | |
| external: true, | |
| }, | |
| { | |
| type: 'icon', | |
| text: 'GitHub Sponsors', | |
| url: 'https://github.com/sponsors/Viren070', | |
| icon: <SiGithubsponsors />, | |
| external: true, | |
| }, | |
| ]} | |
| > | |
| {children} | |
| </DocsLayout> | |
| ); | |
| } | |