Skip to content

Commit

Permalink
add alt text to icons
Browse files Browse the repository at this point in the history
  • Loading branch information
burningtree committed Jun 8, 2024
1 parent 1a551c4 commit eb95452
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/FeaturedProjects.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ const arr = shuffleArr(projects.filter(p => p.confirmed !== false))

<div class="flex flex-wrap gap-1 mb-8 mt-4 not-prose">
{arr.map((p) => (
<a href={p.refs?.web && fixLink(p.refs?.web)} class="object shrink-0 w-8 h-8 opacity-50 hover:opacity-100"><img src={'/images/projects/'+p.img} class="aspect-square object-cover rounded-lg w-8" /></a>
<a href={p.refs?.web && fixLink(p.refs?.web)} class="object shrink-0 w-8 h-8 opacity-50 hover:opacity-100">
<img src={'/images/projects/'+p.img} class="aspect-square object-cover rounded-lg w-8" alt={p.name} title={p.name} />
</a>
))}
</div>

0 comments on commit eb95452

Please sign in to comment.