diff --git a/src/lib/components/chat/SettingsModal.svelte b/src/lib/components/chat/SettingsModal.svelte index d286892b..b47f3996 100644 --- a/src/lib/components/chat/SettingsModal.svelte +++ b/src/lib/components/chat/SettingsModal.svelte @@ -2,7 +2,7 @@ import sha256 from 'js-sha256'; import Modal from '../common/Modal.svelte'; - import { API_BASE_URL as BUILD_TIME_API_BASE_URL } from '$lib/constants'; + import { WEB_UI_VERSION, API_BASE_URL as BUILD_TIME_API_BASE_URL } from '$lib/constants'; import toast from 'svelte-french-toast'; export let show = false; @@ -757,7 +757,9 @@
Ollama Web UI Version
-
v1.0.0-alpha
+
+ {WEB_UI_VERSION} +
diff --git a/src/lib/components/layout/Navbar.svelte b/src/lib/components/layout/Navbar.svelte index afbc863d..8b60eb11 100644 --- a/src/lib/components/layout/Navbar.svelte +++ b/src/lib/components/layout/Navbar.svelte @@ -60,14 +60,16 @@
@@ -88,12 +90,16 @@
@@ -108,7 +114,7 @@ bind:this={navElement} class="h-screen {show ? '' - : '-translate-x-72'} w-72 fixed top-0 left-0 z-40 transition bg-black text-gray-200 shadow-2xl text-sm + : '-translate-x-72'} w-72 fixed top-0 left-0 z-40 transition bg-gray-900 text-gray-200 shadow-2xl text-sm " >
diff --git a/src/lib/constants.ts b/src/lib/constants.ts index 5450a17a..21c8fb76 100644 --- a/src/lib/constants.ts +++ b/src/lib/constants.ts @@ -8,6 +8,8 @@ export const API_BASE_URL = : `http://localhost:11434/api` : PUBLIC_API_BASE_URL; +export const WEB_UI_VERSION = 'v1.0.0-alpha.1'; + // Source: https://kit.svelte.dev/docs/modules#$env-static-public // This feature, akin to $env/static/private, exclusively incorporates environment variables // that are prefixed with config.kit.env.publicPrefix (usually set to PUBLIC_). diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index ea93b8df..8d3ba171 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -795,66 +795,68 @@
-
+ + +
+
+ + +
+ +
+ +
@@ -960,22 +962,23 @@
@@ -1105,13 +1108,13 @@ {/if}
{ submitPrompt(prompt); }} >