Spaces:
Sleeping
Sleeping
Download bioai-platform/frontend/src/app/layout.tsx from Samad14/bio-nexus-api: direct link, hf CLI and curl.
- Browser
- Download file 1.19 kB
-
https://huggingface.co/spaces/Samad14/bio-nexus-api/resolve/fb8c550baa97630a7ea75c27656d800982f513c5/bioai-platform/frontend/src/app/layout.tsx
- Command line
-
hf download hf://spaces/Samad14/bio-nexus-api@fb8c550baa97630a7ea75c27656d800982f513c5/bioai-platform/frontend/src/app/layout.tsx
-
curl -L -o layout.tsx https://huggingface.co/spaces/Samad14/bio-nexus-api/resolve/fb8c550baa97630a7ea75c27656d800982f513c5/bioai-platform/frontend/src/app/layout.tsx
1.19 kB
| import type { Metadata } from 'next'; | |
| import { Space_Grotesk, Inter, JetBrains_Mono } from 'next/font/google'; | |
| import './globals.css'; | |
| import { Toaster } from 'react-hot-toast'; | |
| import { Providers } from './providers'; | |
| const spaceGrotesk = Space_Grotesk({ | |
| subsets: ['latin'], | |
| variable: '--font-display', | |
| display: 'swap', | |
| }); | |
| const inter = Inter({ | |
| subsets: ['latin'], | |
| variable: '--font-sans', | |
| display: 'swap', | |
| }); | |
| const jetbrainsMono = JetBrains_Mono({ | |
| subsets: ['latin'], | |
| variable: '--font-mono', | |
| display: 'swap', | |
| }); | |
| export const metadata: Metadata = { | |
| title: 'Bio Nexus — One interface for every bioinformatics tool', | |
| description: 'Protein sequence analysis, BLAST, UniProt, AlphaFold, docking — all in one place. Built for researchers who aren\'t bioinformaticians.', | |
| }; | |
| export default function RootLayout({ | |
| children, | |
| }: { | |
| children: React.ReactNode; | |
| }) { | |
| return ( | |
| <html lang="en" className={`${spaceGrotesk.variable} ${inter.variable} ${jetbrainsMono.variable}`}> | |
| <body className="font-sans antialiased"> | |
| <Providers> | |
| {children} | |
| </Providers> | |
| <Toaster position="bottom-right" /> | |
| </body> | |
| </html> | |
| ); | |
| } | |