Skip to content

Commit

Permalink
feat: localfont display:swap으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
donghyun1998 committed Aug 3, 2024
1 parent aa51763 commit 24da485
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/fonts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,17 @@ import localFont from "next/font/local";
export const gmarketMedium = localFont({
src: "./../../public/fonts/GmarketSansTTFMedium.ttf",
variable: "--font-gmarket-medium",
display: "swap",
});

export const gmarketBold = localFont({
src: "./../../public/fonts/GmarketSansTTFBold.ttf",
variable: "--font-gmarket-bold",
display: "swap",
});

export const netmarbleBold = localFont({
src: "./../../public/fonts/netmarbleB.ttf",
variable: "--font-netmarble-bold",
display: "swap",
});

0 comments on commit 24da485

Please sign in to comment.