nixpkgs/pkgs/by-name/ne/nextjs-ollama-llm-ui/0002-use-local-google-fonts.patch
2024-05-22 22:33:26 +02:00

21 lines
583 B
Diff

diff --git a/src/app/layout.tsx b/src/app/layout.tsx
index 647ed68..b08088e 100644
--- a/src/app/layout.tsx
+++ b/src/app/layout.tsx
@@ -1,10 +1,10 @@
import type { Metadata } from "next";
-import { Inter } from "next/font/google";
+import localFont from "next/font/local";
import "./globals.css";
import { ThemeProvider } from "@/providers/theme-provider";
import { Toaster } from "@/components/ui/sonner"
-const inter = Inter({ subsets: ["latin"] });
+const inter = localFont({ src: './Inter.ttf' });
export const metadata: Metadata = {
title: "Ollama UI",
--
2.42.0