From 223f17baf92088ea9b9f457857144bd478b27ab4 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Fri, 9 Feb 2024 19:14:26 -0800 Subject: [PATCH] feat: remove hardcoded names --- .../chat/Messages/Placeholder.svelte | 10 +-- src/lib/components/chat/Settings/About.svelte | 4 +- src/lib/components/layout/Navbar.svelte | 5 +- src/lib/components/layout/Sidebar.svelte | 8 +-- src/lib/constants.ts | 58 ++++++++++++++++-- src/routes/+layout.svelte | 3 +- src/routes/auth/+page.svelte | 4 +- static/favicon.png | Bin 92354 -> 13509 bytes static/ollama-dark.png | Bin 13509 -> 0 bytes 9 files changed, 70 insertions(+), 22 deletions(-) delete mode 100644 static/ollama-dark.png diff --git a/src/lib/components/chat/Messages/Placeholder.svelte b/src/lib/components/chat/Messages/Placeholder.svelte index 59b47ba4b..9a67eb1ee 100644 --- a/src/lib/components/chat/Messages/Placeholder.svelte +++ b/src/lib/components/chat/Messages/Placeholder.svelte @@ -27,19 +27,19 @@ > {#if model in modelfiles} modelfile {:else} ollama diff --git a/src/lib/components/chat/Settings/About.svelte b/src/lib/components/chat/Settings/About.svelte index 71cbf574d..99933547e 100644 --- a/src/lib/components/chat/Settings/About.svelte +++ b/src/lib/components/chat/Settings/About.svelte @@ -1,6 +1,6 @@ - Ollama + {WEBUI_NAME} diff --git a/src/routes/auth/+page.svelte b/src/routes/auth/+page.svelte index 451c746de..0483eb893 100644 --- a/src/routes/auth/+page.svelte +++ b/src/routes/auth/+page.svelte @@ -1,7 +1,7 @@