The live-location marker used the SkateSpots brand logo. It now uses the logged-in user's Nostr profile picture (their npub's logo), falling back to the brand logo when there is none. - SpotMap takes an optional userPicture; createUserLocationIcon layers the avatar over the brand logo (CSS multiple backgrounds) so a broken/expired avatar URL just reveals the logo — no inline JS, CSP-safe. - The icon refreshes when the picture loads (or changes) without moving the pin. - MapPage passes the current user's metadata picture. |
||
|---|---|---|
| .. | ||
| components | ||
| contexts | ||
| hooks | ||
| i18n | ||
| lib | ||
| pages | ||
| test | ||
| App.test.tsx | ||
| App.tsx | ||
| AppRouter.tsx | ||
| index.css | ||
| main.tsx | ||
| vite-env.d.ts | ||