|
|
@@ -17,6 +17,7 @@ export const createInfoBanner = |
|
|
|
|
|
|
|
|
const container = createElement('div', ['container'], null, section); |
|
|
const container = createElement('div', ['container'], null, section); |
|
|
const banner = createElement('a', ['banner'], null, container); |
|
|
const banner = createElement('a', ['banner'], null, container); |
|
|
|
|
|
banner.setAttribute('aria-label', headline + ' - ' + kicker); |
|
|
|
|
|
|
|
|
if (imageSrc && imageSrcMobile && imageSrc.length > 0 && imageSrcMobile.length > 0) { |
|
|
if (imageSrc && imageSrcMobile && imageSrc.length > 0 && imageSrcMobile.length > 0) { |
|
|
const imageBox = createElement('div', ['image-box'], null, banner); |
|
|
const imageBox = createElement('div', ['image-box'], null, banner); |
|
|
|