feat: prefetching

This commit is contained in:
Cory Dransfeldt 2024-11-24 14:00:59 -08:00
parent d8e019cc95
commit afe4d514ed
No known key found for this signature in database
13 changed files with 125 additions and 121 deletions

View file

@ -81,7 +81,7 @@ const sections = [
<ul>
{items.map((item) => (
<li>
<a href={item.url}>{item.title || item.name}</a>
<a href={item.url} data-astro-prefetch>{item.title || item.name}</a>
{key === "artists" && item.total_plays > 0 && (
<strong class="highlight-text">
{item.total_plays}{" "}