${data.text}
\n ${data.button ? linkTemplate(data.button, `sln-button ${data.button.type ? `sln-button--${data.button.type}` : ''}`) : ''}`\n });\n\n return promo;\n};\n","import { createEl } from '../utils/helpers';\nimport { getIcon } from '../utils/assets';\nimport { getConfig } from '../utils/config';\n\nimport { linkFilter } from '../utils/link';\nimport { tracking } from '../constants/tracking';\nimport { getLanguage } from '../utils/language';\nimport { renderProp, has } from '../utils/helpers';\n\nimport { labels } from '../utils/labels';\nimport {\n panelWrapperTemplate,\n navigationTemplate,\n wrapperTemplate,\n} from './panel.tmpl';\n\nexport { template, submenuTemplate, logoTemplate };\n\n/**\n * header logo template\n */\nconst logoTemplate = (classes = 'sln-header__logo') => {\n const logo = getConfig().logo;\n\n return createEl('a', {\n ...logo,\n classes: `${classes} ${tracking.class}`,\n html: `