From 41e368dce5f687706c51b5f2c0561ddefe119c9b Mon Sep 17 00:00:00 2001 From: "[dyad]" Date: Fri, 30 Jan 2026 09:52:38 +0100 Subject: [PATCH] [dyad] Replaced incompatible font to fix build error - wrote 3 file(s) --- src/app/layout.tsx | 13 ++++--------- src/app/page.tsx | 2 +- tailwind.config.ts | 5 ++++- 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 0781a95..f09f673 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,16 +1,11 @@ import type { Metadata } from "next"; -import { Geist, Geist_Mono } from "next/font/google"; +import { Inter } from "next/font/google"; import "./globals.css"; import { Header } from "@/components/header"; -const geistSans = Geist({ - variable: "--font-geist-sans", - subsets: ["latin"], -}); - -const geistMono = Geist_Mono({ - variable: "--font-geist-mono", +const inter = Inter({ subsets: ["latin"], + variable: "--font-sans", }); export const metadata: Metadata = { @@ -27,7 +22,7 @@ export default function RootLayout({ return (
{children} diff --git a/src/app/page.tsx b/src/app/page.tsx index 20479c1..bcb0d3b 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -40,7 +40,7 @@ export default function Home() { } return ( -
+
diff --git a/tailwind.config.ts b/tailwind.config.ts index 8358a3a..60f061d 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -9,6 +9,9 @@ export default { ], theme: { extend: { + fontFamily: { + sans: ["var(--font-sans)"], + }, colors: { background: 'hsl(var(--background))', foreground: 'hsl(var(--foreground))', @@ -91,4 +94,4 @@ export default { } }, plugins: [require("tailwindcss-animate")], -} satisfies Config; +} satisfies Config; \ No newline at end of file