feat(web): add title

This commit is contained in:
arkohut 2024-10-14 18:12:30 +08:00
parent f3d6877e71
commit 0759c90bfd
2 changed files with 8 additions and 0 deletions

View File

@ -3,6 +3,10 @@
import { Toaster } from "$lib/components/ui/sonner";
</script>
<svelte:head>
<title>memos</title>
</svelte:head>
<Toaster />
<div class="max-w-screen-2xl mx-auto px-4 sm:px-6 lg:px-8">

View File

@ -257,6 +257,10 @@
}
</script>
<svelte:head>
<title>memos {searchString ? `- ${searchString}` : ''}</title>
</svelte:head>
<svelte:window on:keydown={handleKeydown} />
<header