diff --git a/package-lock.json b/package-lock.json index 1e733db..8375404 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,8 +15,6 @@ "@astrojs/rss": "^4.0.7", "@astrojs/sitemap": "^3.1.6", "@astrojs/tailwind": "^5.1.0", - "@fontsource/geist-mono": "^5.0.3", - "@fontsource/geist-sans": "^5.0.3", "@hbsnow/rehype-sectionize": "^1.0.7", "@radix-ui/react-avatar": "^1.1.0", "@radix-ui/react-dropdown-menu": "^2.1.1", @@ -1171,18 +1169,6 @@ "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.7.tgz", "integrity": "sha512-X8R8Oj771YRl/w+c1HqAC1szL8zWQRwFvgDwT129k9ACdBoud/+/rX9V0qiMl6LWUdP9voC2nDVZYPMQQsb6eA==" }, - "node_modules/@fontsource/geist-mono": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/@fontsource/geist-mono/-/geist-mono-5.0.3.tgz", - "integrity": "sha512-ekY5FNiK7aMxan/c6lgVQa/rIwQ/AMEJZJWY7768jBrLVdkrCxfEfCe1ePpe7C3JnySy7c9R6HC4Xh4ksfjTaw==", - "license": "OFL-1.1" - }, - "node_modules/@fontsource/geist-sans": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/@fontsource/geist-sans/-/geist-sans-5.0.3.tgz", - "integrity": "sha512-oGwoSIqNPMvjtCwj1lZaEr47MeiG27XPhypwkF643u1TQduvwbm3V3hYB01JekeaT34SAGP4I1h+WCdRpJkcwA==", - "license": "OFL-1.1" - }, "node_modules/@hbsnow/rehype-sectionize": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/@hbsnow/rehype-sectionize/-/rehype-sectionize-1.0.7.tgz", diff --git a/package.json b/package.json index a324863..fed5fce 100644 --- a/package.json +++ b/package.json @@ -19,8 +19,6 @@ "@astrojs/rss": "^4.0.7", "@astrojs/sitemap": "^3.1.6", "@astrojs/tailwind": "^5.1.0", - "@fontsource/geist-mono": "^5.0.3", - "@fontsource/geist-sans": "^5.0.3", "@hbsnow/rehype-sectionize": "^1.0.7", "@radix-ui/react-avatar": "^1.1.0", "@radix-ui/react-dropdown-menu": "^2.1.1", diff --git a/public/fonts/GeistMonoVF.woff2 b/public/fonts/GeistMonoVF.woff2 new file mode 100644 index 0000000..fb2f024 Binary files /dev/null and b/public/fonts/GeistMonoVF.woff2 differ diff --git a/public/fonts/GeistVF.woff2 b/public/fonts/GeistVF.woff2 new file mode 100644 index 0000000..9983e92 Binary files /dev/null and b/public/fonts/GeistVF.woff2 differ diff --git a/src/components/Head.astro b/src/components/Head.astro index ab13591..ec7bff9 100644 --- a/src/components/Head.astro +++ b/src/components/Head.astro @@ -2,9 +2,6 @@ import '../styles/global.css' import '../styles/katex.css' -import '@fontsource/geist-mono' -import '@fontsource/geist-sans' - import { ViewTransitions } from 'astro:transitions' interface Props { diff --git a/src/components/TableOfContents.astro b/src/components/TableOfContents.astro index dab81bf..cc6f850 100644 --- a/src/components/TableOfContents.astro +++ b/src/components/TableOfContents.astro @@ -57,7 +57,7 @@ function buildToc(headings: Heading[]): Heading[] { >