diff --git a/apps/infoalloggi/public/fonts/Inter.woff2 b/apps/infoalloggi/public/fonts/Inter.woff2 new file mode 100644 index 0000000..5a8d3e7 Binary files /dev/null and b/apps/infoalloggi/public/fonts/Inter.woff2 differ diff --git a/apps/infoalloggi/src/utils/fonts.ts b/apps/infoalloggi/src/utils/fonts.ts index 50557fd..0a7ff72 100644 --- a/apps/infoalloggi/src/utils/fonts.ts +++ b/apps/infoalloggi/src/utils/fonts.ts @@ -1,7 +1,8 @@ -import { Inter } from "next/font/google"; +import localFont from "next/font/local"; -export const inter = Inter({ - subsets: ["latin"], - display: "swap", +export const inter = localFont({ + src: "../../public/fonts/Inter.woff2", variable: "--font-inter", + display: "swap", + preload: true, });