preload google fonts

This commit is contained in:
MapleLeaf
2022-01-07 03:10:28 -06:00
parent 44e91d394b
commit 9379556153

View File

@@ -31,13 +31,14 @@ export function Html({
crossOrigin="" crossOrigin=""
/> />
<link <link
rel="preload"
as="style"
href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@500&family=Rubik:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap" href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@500&family=Rubik:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap"
rel="stylesheet"
/> />
<link href={assets.file(tailwindCssPath)} rel="stylesheet" /> <link rel="stylesheet" href={assets.file(tailwindCssPath)} />
<link <link
href={assets.file(new URL("ui/prism-theme.css", import.meta.url))}
rel="stylesheet" rel="stylesheet"
href={assets.file(new URL("ui/prism-theme.css", import.meta.url))}
/> />
<title>{title}</title> <title>{title}</title>