depot/third_party/nixpkgs/pkgs/by-name/ne/nextjs-ollama-llm-ui/0002-use-local-google-fonts.patch
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

20 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