This commit is contained in:
sean-brydon 2023-12-13 16:18:50 +00:00 committed by GitHub
parent eb909cc87a
commit 228e509a3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View File

@ -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",

Binary file not shown.