docs: fix self-hosted website font

This commit is contained in:
Ogulcan Celik 2026-05-09 21:36:33 +03:00
parent d7d31df062
commit d0a150a70a
4 changed files with 3 additions and 3 deletions

View File

@ -2,8 +2,8 @@
font-family: "JetBrains Mono";
font-style: normal;
font-weight: 400 700;
font-display: block;
src: url("/assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
font-display: swap;
src: url("/assets/jbm.woff2") format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC,
U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;

View File

@ -41,7 +41,7 @@
<link rel="apple-touch-icon" href="/assets/logo.png" />
<link
rel="preload"
href="/assets/fonts/jetbrains-mono-latin.woff2"
href="/assets/jbm.woff2"
as="font"
type="font/woff2"
crossorigin