From 71f184f696eef3de017b45ad077eba9c52add882 Mon Sep 17 00:00:00 2001 From: Hikari Date: Tue, 3 Mar 2026 17:53:44 -0800 Subject: [PATCH] fix: use global font settings instead of Inter Removes Inter font import from layout and the conflicting CSS font rule, deferring font handling to the CDN global headers script. --- src/app/globals.css | 4 ---- src/app/layout.tsx | 6 +----- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/src/app/globals.css b/src/app/globals.css index 84b6101..bc1d98c 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -2,10 +2,6 @@ @tailwind components; @tailwind utilities; -* { - font-family: "Vampyr", monospace; -} - h1 { @apply text-4xl; } diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 868276e..9eea457 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -3,16 +3,12 @@ * @license Naomi's Public License * @author Naomi Carrigan */ -import { Inter } from "next/font/google"; import Script from "next/script"; import type { Metadata } from "next"; import type { JSX, ReactNode } from "react"; // eslint-disable-next-line import/no-unassigned-import -- Import global styles. import "./globals.css"; -// eslint-disable-next-line new-cap -- This is a function call. -const inter = Inter({ subsets: [ "latin" ] }); - const metadata: Metadata = { description: "The personal musings of a transfem software engineer.", openGraph: { @@ -52,7 +48,7 @@ const RootLayout = ({ href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/styles/default.min.css" rel="stylesheet" > - {children} + {children} ); };