- Publish the Rider Card as an addressable event (kind 32271, d=rider-card) and hydrate the editor from it, so customization persists across devices. - New routes: /card/:npub (public read-only card) and /verify/:naddr (signature check + park venue binding). - Park Access Cards can bind to the issuer's own spot (a tag 30818:...) and the verify page confirms the issuer owns the venue. - QR on the card (+ canvas export) now encodes the verify URL; the real QR renders in the React card too (was a placeholder / broken profile path). - Extracted shared card visuals to src/components/RiderCard.tsx; helpers in src/lib/riderCard.ts; hooks useRiderCard/useRiderBadges. - Documented in NIP.md; i18n cardUi namespace (EN/ES); smoke test covers the new routes. |
||
|---|---|---|
| .. | ||
| components | ||
| contexts | ||
| hooks | ||
| i18n | ||
| lib | ||
| pages | ||
| test | ||
| App.test.tsx | ||
| App.tsx | ||
| AppRouter.tsx | ||
| index.css | ||
| main.tsx | ||
| vite-env.d.ts | ||