Skip to content

armgit / herdr

Public Imported from GitHub
0

the runtime your coding agents live on

docs: fix self-hosted website font

Ogulcan Celikd0a150a70a00
diff --git a/website/assets/fonts/jetbrains-mono-OFL.txt b/website/assets/jbm-OFL.txt
similarity index 100%
rename from website/assets/fonts/jetbrains-mono-OFL.txt
rename to website/assets/jbm-OFL.txt
diff --git a/website/assets/fonts/jetbrains-mono-latin.woff2 b/website/assets/jbm.woff2
similarity index 100%
rename from website/assets/fonts/jetbrains-mono-latin.woff2
rename to website/assets/jbm.woff2
diff --git a/website/css/style.css b/website/css/style.css
index bf7216aa7..156a25aea 100644
--- a/website/css/style.css
+++ b/website/css/style.css
@@ -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;
diff --git a/website/index.html b/website/index.html
index 1ec713153..3f2249641 100644
--- a/website/index.html
+++ b/website/index.html
@@ -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