This commit is contained in:
2026-08-21 19:28:21 -07:00
parent 4af87f4f9c
commit acf97ae05d
15 changed files with 82 additions and 92 deletions

View File

@@ -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 = `