docs: record venue-page access-pass management

This commit is contained in:
SkateSpots 2026-10-02 15:00:50 +07:00
parent 346c5e4a3e
commit aef41ef17e

View file

@ -159,6 +159,13 @@ session with **no other memory of this project**. So:
from the config/CardData; card links are **clean** (`/verify/<naddr>`,
`/card/<npub>`) via a **`main.tsx` startup shim** that rewrites those paths to
the hash (old `/#/…` links still work).
**Venue-page pass management (2026-10-02):** `VenueAccessCard`
(`components/VenueAccessCard.tsx`, owner-only) is rendered on the **shop**
page and on **gated spots** (`accessType` private/locals) — it shows the
venue's active/revoked pass counts and links into the studio with the venue
preselected (`/card?venue=<kind>:<pubkey>:<d>`; `RiderCardPage` reads the
param and opens the park editor on that venue). Renders nothing for
non-owners, so no relay query fires.
- **Marketplace**: `GearSwapPage` (grid) + `MarketplaceItemCard` and a listing
detail page at **`/listing/:pubkey/:identifier`**. Trade/escrow actions live in
the shared **`ListingTradeActions`** (used by BOTH the card and the detail page