From 29f19423674eb78d127e40e5b4af8aff5b55b9a5 Mon Sep 17 00:00:00 2001 From: ngc2207 Date: Wed, 29 Jan 2025 13:19:47 +0800 Subject: [PATCH] feat: update layout to use Inter font and enhance Tailwind configuration for font family --- src/app/layout.tsx | 17 ++++------------- tailwind.config.ts | 3 +++ 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 304978f..4f6b687 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,17 +1,10 @@ import "@/app/globals.css"; +import { cn } from "@/lib/utils"; import type { Metadata } from "next"; -import { Geist, Geist_Mono } from "next/font/google"; +import { Inter } from "next/font/google"; import { ThemeProvider } from "@/components/theme-provider"; -const geistSans = Geist({ - variable: "--font-geist-sans", - subsets: ["latin"], -}); - -const geistMono = Geist_Mono({ - variable: "--font-geist-mono", - subsets: ["latin"], -}); +const inter = Inter({ subsets: ["latin"] }); export const metadata: Metadata = { title: "Create Next App", @@ -25,9 +18,7 @@ interface RootLayoutProps { export default function RootLayout({ children }: Readonly) { return ( - +