Cleanup NextJS template bloat

This commit is contained in:
2025-06-02 19:30:15 +03:00
parent 29fb52ffdc
commit 7d4d50848b
9 changed files with 25 additions and 291 deletions

View File

@@ -1,14 +1,16 @@
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import { Noto_Sans, Birthstone } from "next/font/google";
import "./globals.css";
const geistSans = Geist({
variable: "--font-geist-sans",
const notoSans = Noto_Sans({
variable: "--font-main",
subsets: ["latin"],
});
const geistMono = Geist_Mono({
variable: "--font-geist-mono",
const birthstone = Birthstone({
variable: "--font-extra",
weight: "400",
style: "normal",
subsets: ["latin"],
});
@@ -24,7 +26,7 @@ export default function RootLayout({
}>) {
return (
<html lang="en">
<body className={`${geistSans.variable} ${geistMono.variable}`}>
<body className={`${notoSans.variable}` + ` ${birthstone.variable}`}>
{children}
</body>
</html>