From 78d0531b929b1611dcaba0a3070fce11a4b07126 Mon Sep 17 00:00:00 2001 From: VectoDE Date: Fri, 7 Nov 2025 14:47:47 +0100 Subject: [PATCH 1/2] Fix build failures by removing external font and stubbing Prisma when DB missing --- app/layout.tsx | 6 +----- lib/db.ts | 13 ++++++++----- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/app/layout.tsx b/app/layout.tsx index 9568be2..95c24da 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,9 +1,7 @@ /* eslint-disable react-refresh/only-export-components */ import type { Metadata, Viewport } from "next" import Script from "next/script" -import { Inter } from "next/font/google" -import { cn } from "@/lib/utils" import { getSiteUrl, siteProfile } from "@/lib/site" import { Providers } from "@/components/providers" @@ -14,8 +12,6 @@ const metadataBase = new URL(getSiteUrl()) const siteName = siteProfile.name const siteDescription = siteProfile.defaultDescription -const inter = Inter({ subsets: ["latin"] }) - export const metadata: Metadata = { metadataBase, applicationName: siteName, @@ -187,7 +183,7 @@ export default function RootLayout({ }>) { return ( - + {children}