Download next.js/examples/github-pages/app/layout.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 460 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/examples/github-pages/app/layout.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/examples/github-pages/app/layout.tsx
-
curl -L -o layout.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/examples/github-pages/app/layout.tsx
460 Bytes
| import type { Metadata } from "next"; | |
| import { Inter } from "next/font/google"; | |
| const inter = Inter({ subsets: ["latin"] }); | |
| export const metadata: Metadata = { | |
| title: "Next.js on GitHub Pages", | |
| description: "A Next.js web application on GitHub Pages", | |
| }; | |
| export default function RootLayout({ | |
| children, | |
| }: { | |
| children: React.ReactNode; | |
| }) { | |
| return ( | |
| <html lang="en"> | |
| <body className={inter.className}>{children}</body> | |
| </html> | |
| ); | |
| } | |