Download src/app/layout.tsx from HonzaH/Letschat: direct link, hf CLI and curl.
- Browser
- Download file 800 Bytes
-
https://huggingface.co/spaces/HonzaH/Letschat/resolve/main/src/app/layout.tsx
- Command line
-
hf download hf://spaces/HonzaH/Letschat/src/app/layout.tsx
-
curl -L -o layout.tsx https://huggingface.co/spaces/HonzaH/Letschat/resolve/main/src/app/layout.tsx
800 Bytes
| import type { Metadata } from 'next' | |
| import './globals.css' | |
| import { Header } from 'components/layout/Header' | |
| import { Footer } from 'components/layout/Footer' | |
| import { BodyClass } from 'components/layout/BodyClass' | |
| import { SupabaseConfigScript } from 'components/layout/SupabaseConfigScript' | |
| export const metadata: Metadata = { | |
| title: "Let's Chat", | |
| description: 'Moderní chat aplikace s kódovým systémem', | |
| } | |
| export default function RootLayout({ | |
| children, | |
| }: { | |
| children: React.ReactNode | |
| }) { | |
| return ( | |
| <html lang="cs"> | |
| <body> | |
| <SupabaseConfigScript /> | |
| <BodyClass /> | |
| <div className="main"> | |
| <Header /> | |
| <div className="page"> | |
| {children} | |
| </div> | |
| <Footer /> | |
| </div> | |
| </body> | |
| </html> | |
| ) | |
| } | |