mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
feat: add Nunito font for headings and navbar wordmark
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user