diff --git a/apps/web/components/PageWrapper.tsx b/apps/web/components/PageWrapper.tsx index bdd311d2a9..03b9a9c2c5 100644 --- a/apps/web/components/PageWrapper.tsx +++ b/apps/web/components/PageWrapper.tsx @@ -1,5 +1,4 @@ import { DefaultSeo } from "next-seo"; -import { Inter } from "next/font/google"; import localFont from "next/font/local"; import Head from "next/head"; import Script from "next/script"; @@ -18,7 +17,13 @@ export interface CalPageWrapper { PageWrapper?: AppProps["Component"]["PageWrapper"]; } -const interFont = Inter({ subsets: ["latin"], variable: "--font-inter", preload: true, display: "swap" }); +const interFont = localFont({ + src: "../fonts/InterVariable.woff2", + variable: "--font-inter", + preload: true, + display: "swap", +}); + const calFont = localFont({ src: "../fonts/CalSans-SemiBold.woff2", variable: "--font-cal", diff --git a/apps/web/fonts/InterVariable.woff2 b/apps/web/fonts/InterVariable.woff2 new file mode 100644 index 0000000000..22a12b04e1 Binary files /dev/null and b/apps/web/fonts/InterVariable.woff2 differ