Download next.js/test/e2e/app-dir/app-inline-css/app/layout.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 518 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/app-dir/app-inline-css/app/layout.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/e2e/app-dir/app-inline-css/app/layout.tsx
-
curl -L -o layout.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/app-dir/app-inline-css/app/layout.tsx
518 Bytes
| import Link from 'next/link' | |
| import './global.css' | |
| export default function RootLayout({ children }) { | |
| return ( | |
| <html> | |
| <body> | |
| <nav> | |
| <Link href="/" prefetch={false}> | |
| Home | |
| </Link> | |
| {' | '} | |
| <Link href="/a" id="link-a" prefetch={false}> | |
| Page A | |
| </Link> | |
| {' | '} | |
| <Link href="/b" id="link-b" prefetch={false}> | |
| Page B | |
| </Link> | |
| </nav> | |
| {children} | |
| </body> | |
| </html> | |
| ) | |
| } | |