diff --git a/package.json b/package.json index f2b4e5c..3f65b36 100644 --- a/package.json +++ b/package.json @@ -36,4 +36,4 @@ "prettier": "^3.3.3", "typescript": "^5" } -} \ No newline at end of file +} diff --git a/src/app/globals.css b/src/app/globals.css index 613fee1..4623bb1 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -37,6 +37,7 @@ body { color: var(--primary); -webkit-font-smoothing: antialiased; transition: all 0.2s ease-in-out; + font-display: swap; } a { diff --git a/src/app/layout.tsx b/src/app/layout.tsx index bcdfeb0..7cc6c73 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -4,7 +4,11 @@ import { Space_Mono } from "next/font/google"; import "./globals.css"; -const spaceMono = Space_Mono({ weight: ["400", "700"], subsets: ["latin"] }); +const spaceMono = Space_Mono({ + weight: ["400", "700"], + subsets: ["latin"], + display: "swap", +}); export const metadata: Metadata = { title: "Laercio Rios",