Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

using Inter font

Blue Moused5e41c945e82
diff --git a/app/root.tsx b/app/root.tsx
index f2efdab34..aa5790e0f 100644
--- a/app/root.tsx
+++ b/app/root.tsx
@@ -41,10 +41,15 @@ if (process.env.NODE_ENV !== 'production') {
// localStorage.debug = 'swetrix:*'
}
+const FONTS_PROVIDER = 'https://fonts.bunny.net'
+const FONTS_URL = 'https://fonts.bunny.net/css?family=inter:300,400,500,600,700,800'
+
export const links: LinksFunction = () => [
{ rel: 'stylesheet', href: tailwindCss },
{ rel: 'stylesheet', href: mainCss },
{ rel: 'stylesheet', href: BillboardCss },
+ { rel: 'preconnect', href: FONTS_PROVIDER },
+ { rel: 'stylesheet', href: FONTS_URL },
]
const removeObsoleteAuthTokens = () => {