Skip to content

feat: useImageFallback hook for images that fail to load - #976

Merged
katomm merged 2 commits into
cardano-foundation:stagingfrom
adatainment:feat/use-image-fallback
Oct 16, 2026
Merged

katomm merged 2 commits into
cardano-foundation:stagingfrom
adatainment:feat/use-image-fallback

Conversation

@katomm

@katomm katomm commented Oct 16, 2026

Copy link
Copy Markdown
Member
  • One shared hook now decides when an image failed to load and a fallback should show, used by logo tiles, ambassador avatars and the app preview image
  • Ambassador photos and the app preview no longer show a broken image when loading fails before the page is interactive
  • In the rotating featured ambassador, one broken photo no longer hides the photos of the ambassadors that follow
  • Logo tiles keep their behaviour, including the fallback per light and dark logo

@katomm
katomm merged commit 727bfe3 into cardano-foundation:staging Oct 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant