From 90cdd030e10457a35728fb1b9a182a00c9c80e6a Mon Sep 17 00:00:00 2001 From: Dorian Date: Fri, 13 Feb 2026 22:43:23 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20sovereign=20identity=20flow=20=E2=80=94?= =?UTF-8?q?=20NAH!=20animation=20+=20keypair=20generation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When users click on the legacy email/password form, the form zooms out and a bold "NAH!" animates in. This transitions to an "Own your privacy" message with a "Generate Sovereign Identity" button that creates a new Nostr keypair, logs the user in, and presents a red glassmorphism "Download your new identity" button that saves the nsec/npub keypair to a text file. Uses applesauce PrivateKeyAccount.fromKey() for proper account registration and persistence. Co-authored-by: Cursor --- docker-compose.yml | 2 +- src/components/AuthModal.vue | 585 ++++++++++++++++++++++++++--------- 2 files changed, 435 insertions(+), 152 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index f2e50f3..7385db2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -20,7 +20,7 @@ services: context: . dockerfile: Dockerfile args: - CACHEBUST: "22" + CACHEBUST: "23" VITE_USE_MOCK_DATA: "false" VITE_CONTENT_ORIGIN: ${FRONTEND_URL} VITE_INDEEHUB_API_URL: /api diff --git a/src/components/AuthModal.vue b/src/components/AuthModal.vue index cbc7aa7..ae8a938 100644 --- a/src/components/AuthModal.vue +++ b/src/components/AuthModal.vue @@ -10,157 +10,178 @@ - -
-

- {{ mode === 'login' ? 'Welcome Back' : 'Join IndeedHub' }} -

-

- {{ mode === 'login' ? 'Sign in to continue' : 'Create an account to get started' }} -

-
- - -
- {{ errorMessage }} -
- - -
- -
- - + + + + +
+ NAH!
- -
- {{ mode === 'login' ? "Don't have an account?" : "Already have an account?" }} - + +
+
+

Own your privacy.

+

No email. No password. No surveillance.

+ + +
+
+ + +
+
+
+ + + +
+

You're sovereign.

+

+ Your new identity has been created and you're signed in. Download your keys now — if you lose them, nobody can recover them. +

+ + +
@@ -169,7 +190,7 @@