feat(hero-banner): add conditional class for media presence and adjust styles

This commit is contained in:
2026-09-03 13:39:23 -03:00
parent 4bd74d95cb
commit 9a6ec3d1f2
3 changed files with 40 additions and 12 deletions

View File

@@ -1,5 +1,8 @@
<div class="hero-banner-container">
<div class="hero-banner position-relative rounded">
<div
class="hero-banner position-relative rounded"
[class.hero-banner--with-media]="desktopImageUrl"
>
@if (desktopImageUrl) {
<picture class="hero-media" aria-hidden="true">
@if (mobileImageUrl) {