mirror of
https://gitlab.com/vyla-entertainment/home-frontend.git
synced 2026-11-20 07:07:19 -05:00
revamped
This commit is contained in:
@@ -12,7 +12,7 @@ function initials(name) {
|
||||
export function createTestimonialCard(testimonial) {
|
||||
const card = createElement('div', 'testimonial-card');
|
||||
const avatar = testimonial.avatar
|
||||
? `<img src="${testimonial.avatar}" alt="">`
|
||||
? `<img src="${testimonial.avatar}" alt="" width="34" height="34" loading="lazy" decoding="async">`
|
||||
: initials(testimonial.name || '?');
|
||||
|
||||
card.innerHTML = `
|
||||
|
||||
Reference in New Issue
Block a user