feat(market): show offer photos in the market list and detail

Render offer.imageUrl (already carried by NIP-99) as a thumbnail on each
market card and a hero image on the offer detail page. Remote images
degrade gracefully: a spinner while loading, a neutral placeholder when
the media server is unreachable. Publishing the photo comes next.
This commit is contained in:
vjrj 2026-07-10 20:58:45 +02:00
parent d36fd05741
commit 0150a7ce02
14 changed files with 633 additions and 111 deletions

View file

@ -693,6 +693,7 @@ class _Translations$market$es extends Translations$market$en {
@override String get noProfile => 'Esta persona aún no ha compartido su perfil';
@override String get copyId => 'Copiar código';
@override String get idCopied => 'Código copiado';
@override String get photo => 'Foto';
}
// Path: profile
@ -1460,6 +1461,7 @@ extension on TranslationsEs {
'market.noProfile' => 'Esta persona aún no ha compartido su perfil',
'market.copyId' => 'Copiar código',
'market.idCopied' => 'Código copiado',
'market.photo' => 'Foto',
'profile.title' => 'Tu perfil',
'profile.name' => 'Nombre',
'profile.nameHint' => 'Cómo te ven los demás',