From bd1f3707607c582f86f03537c7156f9a88fd3e0c Mon Sep 17 00:00:00 2001 From: Dorian Date: Tue, 17 Feb 2026 04:08:33 +0000 Subject: [PATCH] feat: enhance Nostr login options in AuthModal - Added a new login button for Nostr using Primal, providing a default option for users. - Implemented handling for blocked pop-ups, allowing users to open Primal directly if the login pop-up is blocked. - Updated the existing Nostr login button to improve layout and spacing. These changes improve the user experience by offering additional login methods and addressing common issues with pop-up blockers. --- src/assets/images/primal-icon.svg | 24 ++++++++++++++ src/components/AuthModal.vue | 53 +++++++++++++++++++++--------- src/composables/useNostrConnect.ts | 16 ++++++--- 3 files changed, 73 insertions(+), 20 deletions(-) create mode 100644 src/assets/images/primal-icon.svg diff --git a/src/assets/images/primal-icon.svg b/src/assets/images/primal-icon.svg new file mode 100644 index 0000000..709d25d --- /dev/null +++ b/src/assets/images/primal-icon.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/components/AuthModal.vue b/src/components/AuthModal.vue index cedfb82..7840d2d 100644 --- a/src/components/AuthModal.vue +++ b/src/components/AuthModal.vue @@ -54,11 +54,46 @@ - + +
+ + +
+ + - - -