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 | 2358d1bf39c34a508db6c50f0f6312ee411a8a17 (patch) | |
| tree | c1a592710013c0db2f4d992f6884f4fd371f125d /src/routes/(app)/+layout.svelte | |
| parent | 493cb3a3504fdc2791d47fd032f5ac9d2ccc66b7 (diff) | |
| download | coinos-ui-2358d1bf39c34a508db6c50f0f6312ee411a8a17.tar.gz coinos-ui-2358d1bf39c34a508db6c50f0f6312ee411a8a17.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> |
