File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ import '../styles/global.css';
44import { motto , site , seo } from ' ../data/site' ;
55import Mascot from ' ../components/Mascot.astro' ;
66import pkg from ' ../../package.json' ;
7+ import jetbrainsMonoFontUrl from ' @fontsource-variable/jetbrains-mono/files/jetbrains-mono-latin-wght-normal.woff2?url' ;
8+ import newsreaderFontUrl from ' @fontsource-variable/newsreader/files/newsreader-latin-wght-normal.woff2?url' ;
79import pressStartFontUrl from ' @fontsource/press-start-2p/files/press-start-2p-latin-400-normal.woff2?url' ;
810import spaceGroteskFontUrl from ' @fontsource-variable/space-grotesk/files/space-grotesk-latin-wght-normal.woff2?url' ;
911
@@ -198,6 +200,8 @@ const analyticsBootstrap = `
198200 <link rel =" sitemap" href =" /sitemap-index.xml" />
199201 <link rel =" alternate" type =" text/plain" href =" /llms.txt" title =" llms.txt" />
200202 <link rel =" preload" href ={ spaceGroteskFontUrl } as =" font" type =" font/woff2" crossorigin />
203+ <link rel =" preload" href ={ newsreaderFontUrl } as =" font" type =" font/woff2" crossorigin />
204+ <link rel =" preload" href ={ jetbrainsMonoFontUrl } as =" font" type =" font/woff2" crossorigin />
201205 <link rel =" preload" href ={ pressStartFontUrl } as =" font" type =" font/woff2" crossorigin />
202206
203207 <!-- No-flash theme + first-load intro arm: runs before paint -->
You can’t perform that action at this time.
0 commit comments