FlorianEisenmenger 10 miesięcy temu
rodzic
commit
9ba5d10951
1 zmienionych plików z 1 dodań i 0 usunięć
  1. +1
    -0
      gfi-ihk-2024/stories/sections/infobanner/InfoBannerComponent.js

+ 1
- 0
gfi-ihk-2024/stories/sections/infobanner/InfoBannerComponent.js Wyświetl plik

@@ -17,6 +17,7 @@ export const createInfoBanner =

const container = createElement('div', ['container'], null, section);
const banner = createElement('a', ['banner'], null, container);
banner.setAttribute('aria-label', headline + ' - ' + kicker);

if (imageSrc && imageSrcMobile && imageSrc.length > 0 && imageSrcMobile.length > 0) {
const imageBox = createElement('div', ['image-box'], null, banner);


Ładowanie…
Anuluj
Zapisz