|
|
|
@@ -9,7 +9,7 @@ export const createTopicTeaser = ({ |
|
|
|
icon = 'Eule Doktorhut', |
|
|
|
linklistData = null, |
|
|
|
}) => { |
|
|
|
const tile = createElement(type === 'single-topic' ? 'a' : 'div', ['tile', 'topic-teaser', type], null); |
|
|
|
const tile = createElement(type === 'single-topic' ? 'a' : 'div', ['tile', 'topic-teaser','variant-base', type], null); |
|
|
|
tile.href = link; |
|
|
|
createElement('div', ['icon-box', 'pictogram-' + icon.toLowerCase().split(' ').join('-')], null, tile); |
|
|
|
const textBox = createElement('div', ['text-box'], null, tile); |
|
|
|
|