forked from open-webui/open-webui
feat: remove hardcoded names
This commit is contained in:
parent
6a4dcac8e9
commit
223f17baf9
9 changed files with 70 additions and 22 deletions
|
@ -10,6 +10,7 @@
|
|||
import '../app.css';
|
||||
import '../tailwind.css';
|
||||
import 'tippy.js/dist/tippy.css';
|
||||
import { WEBUI_NAME } from '$lib/constants';
|
||||
|
||||
let loaded = false;
|
||||
|
||||
|
@ -54,7 +55,7 @@
|
|||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<title>Ollama</title>
|
||||
<title>{WEBUI_NAME}</title>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/themes/rosepine.css" />
|
||||
<link rel="stylesheet" type="text/css" href="/themes/rosepine-dawn.css" />
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<script>
|
||||
import { goto } from '$app/navigation';
|
||||
import { userSignIn, userSignUp } from '$lib/apis/auths';
|
||||
import { WEBUI_API_BASE_URL } from '$lib/constants';
|
||||
import { WEBUI_API_BASE_URL, WEBUI_NAME } from '$lib/constants';
|
||||
import { config, user } from '$lib/stores';
|
||||
import { onMount } from 'svelte';
|
||||
import toast from 'svelte-french-toast';
|
||||
|
@ -90,7 +90,7 @@
|
|||
}}
|
||||
>
|
||||
<div class=" text-xl md:text-2xl font-bold">
|
||||
{mode === 'signin' ? 'Sign in' : 'Sign up'} to Ollama Web UI
|
||||
{mode === 'signin' ? 'Sign in' : 'Sign up'} to {WEBUI_NAME}
|
||||
</div>
|
||||
|
||||
<div class="flex flex-col mt-4">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue