diff options
author | Blaster4385 <blaster4385@tablaster.dev> | 2024-05-15 13:26:22 +0530 |
---|---|---|
committer | Blaster4385 <blaster4385@tablaster.dev> | 2024-05-15 20:47:58 +0530 |
commit | c0b8a6d73d26db3017cd85e32fafdfe5ee64a735 (patch) | |
tree | 6c2d0a10db5d366de92e89bf68bead3c8ca39552 | |
parent | 3e0acbf495b536e4220c3fb8a6d1e0ec638d35eb (diff) |
feat: preload fonts
-rw-r--r-- | client/index.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/client/index.html b/client/index.html index 4e9000e..95f14b3 100644 --- a/client/index.html +++ b/client/index.html @@ -4,7 +4,11 @@ <meta charset="UTF-8" /> <link rel="icon" type="image/svg+xml" href="assets/icons/favicon.ico" /> <link rel="preconnect" href="https://fonts.googleapis.com" /> - <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> + <link + rel="preload" + href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" + as="style" + /> <link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet" |