From 82371ec1b4aad2072c5b0c2c6f150e808498c900 Mon Sep 17 00:00:00 2001 From: Vivi Yanez Date: Thu, 8 Aug 2024 12:11:17 -0300 Subject: [PATCH 1/2] add Fontsource Preload Fonts guide link --- src/content/docs/en/guides/fonts.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/content/docs/en/guides/fonts.mdx b/src/content/docs/en/guides/fonts.mdx index 201017e3ae515..725596bd38be3 100644 --- a/src/content/docs/en/guides/fonts.mdx +++ b/src/content/docs/en/guides/fonts.mdx @@ -96,6 +96,8 @@ The [Fontsource](https://fontsource.org/) project simplifies using Google Fonts ``` +See the [Preloading Fonts guide](https://fontsource.org/docs/getting-started/preload) for information on preloading fonts and subsets essential for the initial page display. + ## Register fonts in Tailwind If you are using the [Tailwind integration](/en/guides/integrations-guide/tailwind/), you can use either of the previous methods on this page to install your font, with some modification. You can either add an [`@font-face` statement for a local font](#using-a-local-font-file) or use [Fontsource's `import` strategy](#using-fontsource) to install your font. From 887d95068169053858aa6ce7c49da6046166841f Mon Sep 17 00:00:00 2001 From: Vivi Yanez Date: Thu, 8 Aug 2024 16:53:44 -0300 Subject: [PATCH 2/2] add introductory sentence --- src/content/docs/en/guides/fonts.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/content/docs/en/guides/fonts.mdx b/src/content/docs/en/guides/fonts.mdx index 725596bd38be3..db62fb433a820 100644 --- a/src/content/docs/en/guides/fonts.mdx +++ b/src/content/docs/en/guides/fonts.mdx @@ -96,7 +96,8 @@ The [Fontsource](https://fontsource.org/) project simplifies using Google Fonts ``` -See the [Preloading Fonts guide](https://fontsource.org/docs/getting-started/preload) for information on preloading fonts and subsets essential for the initial page display. +To optimize your website’s rendering times, you may want to preload fonts that are essential for the initial page display. +See the [Fontsource guide to preloading fonts](https://fontsource.org/docs/getting-started/preload) for more information and usage. ## Register fonts in Tailwind