Skip to content

Commit

Permalink
frontend: fix missing attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
khancyr committed Nov 21, 2024
1 parent 60f9b34 commit 51aafe1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ <h1>User Cases</h1>
img.loading = "lazy";
img.style.maxWidth = "640px";
img.style.width = "100%";
//img.alt = val.title;
img.alt = val.title;

anchor.innerHTML = '';
anchor.appendChild(img);
Expand Down Expand Up @@ -753,7 +753,7 @@ <h1>User Cases</h1>
}
</style>
<a href='${val.youtube_link}?autoplay=1' class='yt_img'>
<img src='${video_thumbnail}' class='yt_img' />
<img src='${video_thumbnail}' class='yt_img' alt='${val.title}'/>
<svg version='1.1' viewBox='0 0 68 48' width='68px' style='position: relative;' >
<path d='M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z' fill='#f00'></path>
<path d='M 45,24 27,14 27,34' fill='#fff'></path>
Expand Down

0 comments on commit 51aafe1

Please sign in to comment.