@@ -8,8 +8,8 @@ const barCols = []
88 [' promo' , ' percent' ]
99].forEach (([prop , icon ]) => {
1010 if (info[prop] && info[prop].show ) {
11- const { link , text } = info[prop]
12- barCols .push ({ link, text, icon })
11+ const { link , title , text } = info[prop]
12+ barCols .push ({ link, title, text, icon })
1313 }
1414})
1515%>
@@ -18,14 +18,21 @@ const barCols = []
1818 < section class = " info-bar" >
1919 < div class = " container" >
2020 < div class = " info-bar__nav row" >
21- < % barCols .forEach (({ link, icon, text }) => { % >
21+ < % barCols .forEach (({ link, icon, title, text }) => { % >
2222 < div class = " col-auto col-sm-6 col-lg" >
2323 < a class = " info-bar__item" href= " <%= link || 'javascript:;' %>" >
2424 < span class = " rounded-icon" >
2525 < i class = " i-<%= icon %>" >< / i>
2626 < / span>
2727 < div class = " ml-2 ml-md-3" >
28- < %= text % >
28+ < % if (title) { % >
29+ < div class = " info-bar__title" >
30+ < %= title % >
31+ < / div>
32+ < % } % >
33+ < div class = " info-bar__text" >
34+ < %= text % >
35+ < / div>
2936 < / div>
3037 < / a>
3138 < / div>
0 commit comments