Download next.js/test/e2e/app-dir/app-a11y/app/layout.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 659 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/app-dir/app-a11y/app/layout.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/e2e/app-dir/app-a11y/app/layout.js
-
curl -L -o layout.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/app-dir/app-a11y/app/layout.js
659 Bytes
| import Link from 'next/link' | |
| export default function Layout({ children }) { | |
| return ( | |
| <html> | |
| <body> | |
| {children} | |
| <hr /> | |
| <Link href="/page-with-h1" id="page-with-h1"> | |
| /page-with-h1 | |
| </Link> | |
| <br /> | |
| <Link href="/page-with-title" id="page-with-title"> | |
| /page-with-title | |
| </Link> | |
| <br /> | |
| <Link href="/noop-layout/page-1" id="noop-layout-page-1"> | |
| /noop-layout/page-1 | |
| </Link> | |
| <br /> | |
| <Link href="/noop-layout/page-2" id="noop-layout-page-2"> | |
| /noop-layout/page-2 | |
| </Link> | |
| <br /> | |
| </body> | |
| </html> | |
| ) | |
| } | |