Inter 4.0 (#12766)
This commit is contained in:
parent
eb909cc87a
commit
228e509a3b
|
@ -1,5 +1,4 @@
|
||||||
import { DefaultSeo } from "next-seo";
|
import { DefaultSeo } from "next-seo";
|
||||||
import { Inter } from "next/font/google";
|
|
||||||
import localFont from "next/font/local";
|
import localFont from "next/font/local";
|
||||||
import Head from "next/head";
|
import Head from "next/head";
|
||||||
import Script from "next/script";
|
import Script from "next/script";
|
||||||
|
@ -18,7 +17,13 @@ export interface CalPageWrapper {
|
||||||
PageWrapper?: AppProps["Component"]["PageWrapper"];
|
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({
|
const calFont = localFont({
|
||||||
src: "../fonts/CalSans-SemiBold.woff2",
|
src: "../fonts/CalSans-SemiBold.woff2",
|
||||||
variable: "--font-cal",
|
variable: "--font-cal",
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user