Inter 4.0 (#12766)
This commit is contained in:
parent
eb909cc87a
commit
228e509a3b
|
@ -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.
Loading…
Reference in New Issue
Block a user