v1.5.2
This commit is contained in:
parent
7d26ffcee4
commit
25ea6cf6f6
19 changed files with 2270 additions and 467 deletions
|
|
@ -68,6 +68,11 @@
|
|||
</div>`).join('');
|
||||
}
|
||||
|
||||
function renderNote(note) {
|
||||
if (!note || !note.length) return '';
|
||||
return `<p class="service-note">${note.map(n => `<span class="service-note-mark">${n.value}</span> ${n.label}<br>`).join(' ')}</p>`;
|
||||
}
|
||||
|
||||
function renderCtas(ctas) {
|
||||
return ctas.map(c => `
|
||||
<a href="${c.href}" class="btn btn-${c.style}">
|
||||
|
|
@ -97,6 +102,9 @@
|
|||
<div class="service-tab-features">
|
||||
${renderFeatures(service.features, accentFrom, accentTo)}
|
||||
</div>
|
||||
<div class="service-tab-note">
|
||||
${renderNote(service.note)}
|
||||
</div>
|
||||
<div class="service-tab-cta">
|
||||
${renderCtas(service.cta)}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue