Skip to content

Commit

Permalink
[docs] Update example links.
Browse files Browse the repository at this point in the history
  • Loading branch information
vinaykulk621 authored Nov 1, 2023
1 parent f832c56 commit 0a0c455
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,8 @@ export default function RootLayout({ children }) {
- [Styled Components](https://github.com/vercel/next.js/tree/canary/examples/with-styled-components)
- [Emotion](https://github.com/vercel/next.js/tree/canary/examples/with-emotion)
- [Linaria](https://github.com/vercel/next.js/tree/canary/examples/with-linaria)
- [Tailwind CSS + Emotion](https://github.com/vercel/next.js/tree/canary/examples/with-tailwindcss-emotion)
- [Styletron](https://github.com/vercel/next.js/tree/canary/examples/with-styletron)
- [Cxs](https://github.com/vercel/next.js/tree/canary/examples/with-cxs)
- [Aphrodite](https://github.com/vercel/next.js/tree/canary/examples/with-aphrodite)
- [Fela](https://github.com/vercel/next.js/tree/canary/examples/with-fela)
- [Stitches](https://github.com/vercel/next.js/tree/canary/examples/with-stitches)

Expand Down
7 changes: 0 additions & 7 deletions docs/02-app/02-api-reference/05-next-config-js/env.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,6 @@ description: Learn to add and access environment variables in your Next.js appli
</PagesOnly>

<details>
<summary>Examples</summary>

- [With env](https://github.com/vercel/next.js/tree/canary/examples/with-env-from-next-config-js)

</details>

<AppOnly>

> **Good to know**: environment variables specified in this way will **always** be included in the JavaScript bundle, prefixing the environment variable name with `NEXT_PUBLIC_` only has an effect when specifying them [through the environment or .env files](/docs/app/building-your-application/configuring/environment-variables).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,6 @@ In general we recommend using [`useRouter`](/docs/pages/api-reference/functions/

## Imperative Routing

<details>
<summary>Examples</summary>

- [Using Router](https://github.com/vercel/next.js/tree/canary/examples/using-router)

</details>

[`next/link`](/docs/pages/api-reference/components/link) should be able to cover most of your routing needs, but you can also do client-side navigations without it, take a look at the [documentation for `next/router`](/docs/pages/api-reference/functions/use-router).

The following example shows how to do basic page navigations with [`useRouter`](/docs/pages/api-reference/functions/use-router):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ To see examples with other authentication providers, check out the [examples fol

- [Auth0](https://github.com/vercel/next.js/tree/canary/examples/auth0)
- [Clerk](https://github.com/vercel/next.js/tree/canary/examples/with-clerk)
- [Firebase](https://github.com/vercel/next.js/tree/canary/examples/with-firebase-authentication)
- [Magic](https://github.com/vercel/next.js/tree/canary/examples/with-magic)
- [Nhost](https://github.com/vercel/next.js/tree/canary/examples/with-nhost-auth-realtime-graphql)
- [Ory](https://github.com/vercel/examples/tree/main/solutions/auth-with-ory)
Expand Down
7 changes: 0 additions & 7 deletions docs/03-pages/02-api-reference/02-functions/use-router.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,6 @@ The following methods are included inside `router`:

### router.push

<details>
<summary>Examples</summary>

- [Using Router](https://github.com/vercel/next.js/tree/canary/examples/using-router)

</details>

Handles client-side transitions, this method is useful for cases where [`next/link`](/docs/pages/api-reference/components/link) is not enough.

```js
Expand Down

0 comments on commit 0a0c455

Please sign in to comment.