Files
Benjamin Cabanes 4b9bc9bdbf feat(nx-dev): support optional artwork in the promo banner card (#35992)
The banner config fetched from the Framer endpoint can now carry an
optional artwork URL, so an event can ship custom key-art for the
bottom-right notification card without any code change — and the card
stays exactly as it is today when artwork is absent.

The asset contract is an 840x320 transparent image (420px rendered
width) anchored to the card's top-right corner at -28px top / -16px
right, allowed to crest past the card edges at md+ via a conditional
overflow-visible. A theme-aware gradient scrim keeps the title and
description legible over any art, the description caps at 58% width, and
the megaphone icon yields to the artwork. Below md the art is hidden
entirely so a full-width bottom sheet can never overflow the viewport.
Malformed artwork values are stripped during prebuild normalization
instead of dropping the whole banner.
2026-06-12 16:57:34 -04:00
..