diff options
| author | Adam Soltys <[email protected]> | 2025-01-07 14:42:03 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2025-01-07 14:42:03 -0800 |
| commit | e37fa03f08b47d780f9e7f2b3d14125c33ba1b7d (patch) | |
| tree | c1a592710013c0db2f4d992f6884f4fd371f125d /src/routes/(app)/+layout.svelte | |
| parent | 9876a70b1083c420184bfbef30122f4d46e65740 (diff) | |
| download | coinos-ui-e37fa03f08b47d780f9e7f2b3d14125c33ba1b7d.tar.gz coinos-ui-e37fa03f08b47d780f9e7f2b3d14125c33ba1b7d.zip | |
nostr signin
Diffstat (limited to 'src/routes/(app)/+layout.svelte')
| -rw-r--r-- | src/routes/(app)/+layout.svelte | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/routes/(app)/+layout.svelte b/src/routes/(app)/+layout.svelte index 31238a87..e179005f 100644 --- a/src/routes/(app)/+layout.svelte +++ b/src/routes/(app)/+layout.svelte @@ -8,6 +8,7 @@ request, ndef, passwordPrompt, + signaturePrompt, password, pin, theme as themeStore, @@ -16,6 +17,7 @@ import { browser } from "$app/environment"; import LoadingSplash from "$comp/LoadingSplash.svelte"; import AppHeader from "$comp/AppHeader.svelte"; + import Nostr from "$comp/Nostr.svelte"; import Password from "$comp/Password.svelte"; import { getCookie, warning } from "$lib/utils"; import { t, locale, loading } from "$lib/translations"; @@ -89,6 +91,10 @@ <Password {user} /> {/if} +{#if browser && $signaturePrompt} + <Nostr event={$signaturePrompt} /> +{/if} + <svelte:head> {#if subject} <title>coinos - {subject.username}</title> |
