Replace custom HAML for BroadcastBannerComponent
What does this MR do and why?
Replace custom HAML for BroadcastBannerComponent
In addition, we simplify the structure and remove unused preview
variable.
Related to #362737 (closed) and gitlab-org/frontend/pajamas-adoption-scanner!335 (merged)
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
No changes.
How to set up and validate locally
As an admin, go to /admin/broadcast_messages
and create broadcast banners and notifications. They should behave exactly the same.
Edited by Eduardo Sanz García