From 7b58cdf85528239ee6dcddd4e82c8041fbf88a39 Mon Sep 17 00:00:00 2001 From: Jon Staab Date: Wed, 4 Dec 2024 15:11:32 -0800 Subject: [PATCH] Tweak login button styles --- src/app/commands.ts | 1 + src/app/components/LogIn.svelte | 68 +++++++++++++++++---------------- 2 files changed, 36 insertions(+), 33 deletions(-) diff --git a/src/app/commands.ts b/src/app/commands.ts index 7a168ab..f4f6177 100644 --- a/src/app/commands.ts +++ b/src/app/commands.ts @@ -161,6 +161,7 @@ export const logout = async () => { } await clearStorage() + localStorage.clear() } diff --git a/src/app/components/LogIn.svelte b/src/app/components/LogIn.svelte index a2095ab..c40cf60 100644 --- a/src/app/components/LogIn.svelte +++ b/src/app/components/LogIn.svelte @@ -1,5 +1,4 @@ @@ -93,21 +89,8 @@ , which allows you to own your social identity.

- {#if BURROW_URL} - - {/if} {#if getNip07()} - {/if} {#each signers as app} - {/each} + {#if BURROW_URL && !hasSigner} + + {/if} - - - Browse Signer Apps - + {#if BURROW_URL && hasSigner} + + {/if} + {#if !hasSigner || !BURROW_URL} + + + Browse Signer Apps + + {/if}
Need an account?