feat: title for all routes

This commit is contained in:
Timothy J. Baek 2024-03-01 22:38:04 -08:00
parent e5c812f1d2
commit 78d9c469a2
5 changed files with 34 additions and 4 deletions

View file

@ -4,7 +4,7 @@
const { saveAs } = fileSaver;
import { onMount } from 'svelte';
import { documents } from '$lib/stores';
import { WEBUI_NAME, documents } from '$lib/stores';
import { createNewDoc, deleteDocByName, getDocs } from '$lib/apis/documents';
import { SUPPORTED_FILE_TYPE, SUPPORTED_FILE_EXTENSIONS } from '$lib/constants';
@ -148,6 +148,12 @@
);
</script>
<svelte:head>
<title>
{`Documents | ${$WEBUI_NAME}`}
</title>
</svelte:head>
{#if dragged}
<div
class="fixed w-full h-full flex z-50 touch-none pointer-events-none"