From bb6245e53c3d2c5e4800f3df631627f5d404a0dd Mon Sep 17 00:00:00 2001 From: "shakespeare.diy" Date: Wed, 2 Sep 2026 21:44:12 +0700 Subject: [PATCH] Skater profile: browse real map spots for home spot + always use kind-0 profile pic MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Home spot: - Add "Browse spots" button opening a searchable dialog of real mapped spots (useSkateSpots) - Picking a spot stores its title + an `a` (30818:pubkey:d) coordinate; shows a linked-spot chip with unlink - Profile page renders a linked home spot as a link to /spot/:pubkey/:identifier - Parse homeSpotRef from the `a` tag; document in NIP.md Profile pic consistency: - Remove the skate-specific image override/upload — the skater card now always uses the kind-0 profile picture so both sections show the identical photo - "Profile Pic" section is read-only with a "Change profile photo" link to settings - Drop the `image` tag from published skater events; note the change in NIP.md Co-authored-by: shakespeare.diy --- NIP.md | 9 +- src/lib/types.ts | 4 +- src/pages/BecomeSkaterPage.tsx | 250 ++++++++++++++++++++++++--------- src/pages/NIP19Page.tsx | 29 ++-- 4 files changed, 217 insertions(+), 75 deletions(-) diff --git a/NIP.md b/NIP.md index fd61665..bfae7d6 100644 --- a/NIP.md +++ b/NIP.md @@ -1511,10 +1511,10 @@ exists purely for community discovery. ["level_custom", ""], ["t", "