feat(hero-banner): add conditional class for media presence and adjust styles
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user