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.
This commit is contained in:
2026-03-03 17:53:44 -08:00
committed by Naomi Carrigan
parent 30415c5e7e
commit 71f184f696
2 changed files with 1 additions and 9 deletions
-4
View File
@@ -2,10 +2,6 @@
@tailwind components;
@tailwind utilities;
* {
font-family: "Vampyr", monospace;
}
h1 {
@apply text-4xl;
}
+1 -5
View File
@@ -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"
></link>
<body className={inter.className}>{children}</body>
<body>{children}</body>
</html>
);
};