generated from nhcarrigan/template
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:
@@ -2,10 +2,6 @@
|
|||||||
@tailwind components;
|
@tailwind components;
|
||||||
@tailwind utilities;
|
@tailwind utilities;
|
||||||
|
|
||||||
* {
|
|
||||||
font-family: "Vampyr", monospace;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
@apply text-4xl;
|
@apply text-4xl;
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-5
@@ -3,16 +3,12 @@
|
|||||||
* @license Naomi's Public License
|
* @license Naomi's Public License
|
||||||
* @author Naomi Carrigan
|
* @author Naomi Carrigan
|
||||||
*/
|
*/
|
||||||
import { Inter } from "next/font/google";
|
|
||||||
import Script from "next/script";
|
import Script from "next/script";
|
||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import type { JSX, ReactNode } from "react";
|
import type { JSX, ReactNode } from "react";
|
||||||
// eslint-disable-next-line import/no-unassigned-import -- Import global styles.
|
// eslint-disable-next-line import/no-unassigned-import -- Import global styles.
|
||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
|
|
||||||
// eslint-disable-next-line new-cap -- This is a function call.
|
|
||||||
const inter = Inter({ subsets: [ "latin" ] });
|
|
||||||
|
|
||||||
const metadata: Metadata = {
|
const metadata: Metadata = {
|
||||||
description: "The personal musings of a transfem software engineer.",
|
description: "The personal musings of a transfem software engineer.",
|
||||||
openGraph: {
|
openGraph: {
|
||||||
@@ -52,7 +48,7 @@ const RootLayout = ({
|
|||||||
href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/styles/default.min.css"
|
href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/styles/default.min.css"
|
||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
></link>
|
></link>
|
||||||
<body className={inter.className}>{children}</body>
|
<body>{children}</body>
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user