Added the store for dynamically changing the popup titles

This commit is contained in:
koloml committed 2026-01-09 05:27:48 +04:00
1 parent 5fd6dee999
commit 70129d7a0e
2 files changed
+20

No files matched your search

+5
View File
@@ -4,6 +4,7 @@
import Footer from "$components/layout/Footer.svelte";
import { initializeLinksReplacement } from "$lib/popup-links";
import { onDestroy } from "svelte";
import { headTitle } from "$stores/popup";
interface Props {
children?: import('svelte').Snippet;
@@ -22,6 +23,10 @@
})
</script>
<svelte:head>
<title>{$headTitle}</title>
</svelte:head>
<Header/>
<main>
{@render children?.()}