Skip to content

Commit 0893af5

Browse files
committed
fix: link to more common packages
1 parent cbfcbe5 commit 0893af5

1 file changed

Lines changed: 9 additions & 15 deletions

File tree

app/pages/index.vue

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -89,29 +89,23 @@ defineOgImageComponent('Default')
8989
</search>
9090
</header>
9191

92-
<!-- Minimal quick links -->
92+
<!-- Popular packages -->
9393
<nav
94-
aria-label="Quick links"
94+
aria-label="Popular packages"
9595
class="pb-20 text-center animate-fade-in animate-fill-both"
9696
style="animation-delay: 0.3s"
9797
>
98-
<ul class="flex items-center justify-center gap-8 list-none m-0 p-0">
99-
<li class="list-none">
100-
<NuxtLink
101-
to="/search"
102-
class="link-subtle font-mono text-sm inline-flex items-center gap-2 group"
103-
>
104-
<span class="w-1 h-1 rounded-full bg-fg-subtle group-hover:bg-fg transition-colors duration-200" />
105-
browse all
106-
</NuxtLink>
107-
</li>
108-
<li>
98+
<ul class="flex flex-wrap items-center justify-center gap-x-6 gap-y-3 list-none m-0 p-0">
99+
<li
100+
v-for="pkg in ['nuxt', 'vue', 'react', 'svelte', 'vite', 'next', 'astro', 'typescript']"
101+
:key="pkg"
102+
>
109103
<NuxtLink
110-
to="/package/nuxt"
104+
:to="`/package/${pkg}`"
111105
class="link-subtle font-mono text-sm inline-flex items-center gap-2 group"
112106
>
113107
<span class="w-1 h-1 rounded-full bg-fg-subtle group-hover:bg-fg transition-colors duration-200" />
114-
example: nuxt
108+
{{ pkg }}
115109
</NuxtLink>
116110
</li>
117111
</ul>

0 commit comments

Comments
 (0)