feat: add Nunito font for headings and navbar wordmark

This commit is contained in:
ashim-hq
2026-04-24 14:46:44 +08:00
parent 6af315ac44
commit af54a0e4da
3 changed files with 13 additions and 7 deletions
+3 -2
View File
@@ -1,8 +1,9 @@
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import { Inter, Nunito } from "next/font/google";
import "@/styles/globals.css";
const inter = Inter({ subsets: ["latin"], variable: "--font-inter" });
const nunito = Nunito({ subsets: ["latin"], variable: "--font-nunito" });
export const metadata: Metadata = {
title: "SnapOtter | Self-Hosted Image Processing",
@@ -36,7 +37,7 @@ export const metadata: Metadata = {
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang="en" className={inter.variable} suppressHydrationWarning>
<html lang="en" className={`${inter.variable} ${nunito.variable}`} suppressHydrationWarning>
<body
className="bg-background text-foreground font-[family-name:var(--font-inter)] antialiased"
suppressHydrationWarning