Implement code changes to enhance functionality and improve performance
This commit is contained in:
parent
6768421795
commit
5d8305b9ff
2 changed files with 5 additions and 4 deletions
BIN
apps/infoalloggi/public/fonts/Inter.woff2
Normal file
BIN
apps/infoalloggi/public/fonts/Inter.woff2
Normal file
Binary file not shown.
|
|
@ -1,7 +1,8 @@
|
||||||
import { Inter } from "next/font/google";
|
import localFont from "next/font/local";
|
||||||
|
|
||||||
export const inter = Inter({
|
export const inter = localFont({
|
||||||
subsets: ["latin"],
|
src: "../../public/fonts/Inter.woff2",
|
||||||
display: "swap",
|
|
||||||
variable: "--font-inter",
|
variable: "--font-inter",
|
||||||
|
display: "swap",
|
||||||
|
preload: true,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue