Unverified Commit 9658cf7a authored by Lee Robinson's avatar Lee Robinson Committed by GitHub

Move link examples to only Pages Router docs. (#57758)

parent f832c56a
......@@ -5,6 +5,8 @@ description: Enable fast client-side navigation with the built-in `next/link` co
{/* The content of this doc is shared between the app and pages router. You can use the `<PagesOnly>Content</PagesOnly>` component to add content that is specific to the Pages Router. Any shared content should not be wrapped in a component. */}
<PagesOnly>
<details>
<summary>Examples</summary>
......@@ -13,6 +15,8 @@ description: Enable fast client-side navigation with the built-in `next/link` co
</details>
</PagesOnly>
`<Link>` is a React component that extends the HTML `<a>` element to provide [prefetching](/docs/app/building-your-application/routing/linking-and-navigating#1-prefetching) and client-side navigation between routes. It is the primary way to navigate between routes in Next.js.
<AppOnly>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment