Skip to content

Commit 3a62603

Browse files
sbryngelsonclaude
andcommitted
Add YouTube icon and target_blank to gallery card links
Cards linking to YouTube show the YouTube brand icon instead of a generic external-link icon. DOI links keep the original icon. All card links now open in a new tab. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 801f6a9 commit 3a62603

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@
9090
<img class="h-10" src="res/logo.png" alt="">
9191
</div>
9292
<div class="flex-1 p-2 font-semibold text-center">${s.name}</div>
93-
<a class="w-10 text-center" href="${s.source}">
94-
<i class="fa-solid fa-arrow-up-right-from-square"></i>
93+
<a class="w-10 text-center text-xl" href="${s.source}" target="_blank">
94+
<i class="${s.source.includes('youtube.com') ? 'fa-brands fa-youtube' : 'fa-solid fa-arrow-up-right-from-square'}"></i>
9595
</a>
9696
</div>
9797
<div class="grid grid-cols-3 gap-4 px-4 py-2">

0 commit comments

Comments
 (0)