Skip to content

Commit

Permalink
Update docs/basic-features/font-optimization.md
Browse files Browse the repository at this point in the history
Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>
  • Loading branch information
timneutkens and delbaoliveira committed Nov 2, 2022
1 parent d158823 commit 7838cd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/basic-features/font-optimization.md
Expand Up @@ -26,7 +26,7 @@ Automatically self-host any Google Font. Fonts are included in the deployment an

Import the font you would like to use from `@next/font/google` as a function. We recommend using [**variable fonts**](https://fonts.google.com/variablefonts) for the best performance and flexibility.

To use the font in all your pages, add it to `_app.js` or `_app.tsx` under `/pages` as shown below:
To use the font in all your pages, add it to [`_app.js` file](https://nextjs.org/docs/advanced-features/custom-app) under `/pages` as shown below:

```js:pages/_app.js
import { Inter } from '@next/font/google';
Expand Down

0 comments on commit 7838cd4

Please sign in to comment.