Download next.js/test/integration/client-navigation-a11y/pages/index.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 600 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/integration/client-navigation-a11y/pages/index.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/integration/client-navigation-a11y/pages/index.js
-
curl -L -o index.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/integration/client-navigation-a11y/pages/index.js
600 Bytes
| import Link from 'next/link' | |
| export default () => ( | |
| <div id="page-container"> | |
| <Link href="/page-with-h1-and-title" id="page-with-h1-and-title-link"> | |
| Go to a page with a title and an h1 | |
| </Link> | |
| <Link href="/page-with-h1" id="page-with-h1-link"> | |
| Go to a page without a title but with an h1 | |
| </Link> | |
| <Link href="/page-with-title" id="page-with-title-link"> | |
| Go to a page without an h1, but with a title | |
| </Link> | |
| <Link href="/page-without-h1-or-title" id="page-without-h1-or-title-link"> | |
| Go to a page without an h1 or a title | |
| </Link> | |
| </div> | |
| ) | |