Unverified Commit 0ba02ebb authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

nextjs-ollama-llm-ui: 1.1.0 -> 1.2.0 (#379364)

parents b1d040db f67cf4cf
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
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
--- a/src/app/(chat)/layout.tsx
+++ b/src/app/(chat)/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 "../globals.css";
 import { ThemeProvider } from "@/providers/theme-provider";
 import { Toaster } from "@/components/ui/sonner"
 import { Toaster } from "@/components/ui/sonner";

-const inter = Inter({ subsets: ["latin"] });
+const inter = localFont({ src: './Inter.ttf' });
+const inter = localFont({ src: '../Inter.ttf' });

 export const metadata: Metadata = {
   title: "Ollama UI",
+6 −5
Original line number Diff line number Diff line
@@ -14,7 +14,8 @@
}:

let
  version = "1.1.0";
  version = "1.2.0";
  tag = "v.${version}";
in
buildNpmPackage {
  pname = "nextjs-ollama-llm-ui";
@@ -23,10 +24,10 @@ buildNpmPackage {
  src = fetchFromGitHub {
    owner = "jakobhoeg";
    repo = "nextjs-ollama-llm-ui";
    rev = "v${version}";
    hash = "sha256-IA7g96u5QY8cOuTbJEWw7+U+hSFBzIQVk4Kv3qHKAdM=";
    inherit tag;
    hash = "sha256-hgLeTWtnyxGMkMsAGBbaM2yeS/H8AStMPR2bjLdjwEc=";
  };
  npmDepsHash = "sha256-3M0BZ9KZZ0ONwvTLycfMR8skMQf8mzjeqYCwJY4l040=";
  npmDepsHash = "sha256-9+A+85IK4zmMGlBsVoLg7RnST72AhAM6xPGnBZLgLTk=";

  patches = [
    # nextjs tries to download google fonts from the internet during buildPhase and fails in Nix sandbox.
@@ -91,7 +92,7 @@ buildNpmPackage {

  meta = {
    description = "Simple chat web interface for Ollama LLMs";
    changelog = "https://github.com/jakobhoeg/nextjs-ollama-llm-ui/releases/tag/v${version}";
    changelog = "https://github.com/jakobhoeg/nextjs-ollama-llm-ui/releases/tag/${tag}";
    mainProgram = "nextjs-ollama-llm-ui";
    homepage = "https://github.com/jakobhoeg/nextjs-ollama-llm-ui";
    license = lib.licenses.mit;