perf: test font performance

This commit is contained in:
satnaing
2023-01-19 12:27:37 +06:30
parent 9840cf7b66
commit 98f077da1a
+5 -1
View File
@@ -65,11 +65,15 @@ const fallbackImageURL = new URL(SITE.ogImage, Astro.url.origin).href;
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&display=swap"
rel="stylesheet"
/>
<!-- <link
rel="preload"
href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&display=swap"
as="style"
onload="this.onload=null;this.rel='stylesheet'"
/>
/> -->
{
// If PUBLIC_GOOGLE_SITE_VERIFICATION is set in the environment variable,