Commit Graph

2 Commits

Author SHA1 Message Date
shakespeare.diy dff9ec4704 Fetch geocache event from found log's a tag to display treasure name
- Parse the `a` tag (e.g. `37516:pubkey:d-tag`) into AddrCoords
- Fetch the referenced geocache event via useAddrEvent
- Display the geocache's `name` tag as a clickable link (with chest icon)
  that navigates to the geocache's naddr detail page
- Fall back to showing the d-tag identifier if the event can't be fetched

Co-authored-by: shakespeare.diy <assistant@shakespeare.diy>
2026-02-17 20:03:28 -06:00
shakespeare.diy 204ceb0486 Add treasure headers for geocache and found log notes
- Add TreasureHeader component that renders "<chest> <name> hid a treasure"
  for geocache listings (kind 37516) and "<chest> <name> found a treasure"
  for found logs (kind 7516), styled like the existing RepostHeader
- Create FoundLogContent component for rendering kind 7516 found log events
  with geocache reference badge, verified badge, log text, and images
- Add kind 7516 detection to NoteCard and PostDetailPage content dispatch

Co-authored-by: shakespeare.diy <assistant@shakespeare.diy>
2026-02-17 20:02:00 -06:00