Skip to content

Commit 453aec9

Browse files
committed
chore: wip
chore: wip chore: wip chore: wip
1 parent 7270dc1 commit 453aec9

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

resources/views/dashboard/packages/index.vue

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,19 @@ useHead({
44
})
55
66
const packages = [
7+
{
8+
name: 'stacks',
9+
version: 'v0.68.2',
10+
downloads: 1001897,
11+
issues: 12,
12+
contributors: 24,
13+
size: '5.2kb',
14+
path: './packages/stacks/*',
15+
createdAt: '2024-01-15',
16+
codename: 'Playa Vista',
17+
description: 'A modern Full Stack TypeScript framework',
18+
stars: Math.floor(Math.random() * 1000) + 100
19+
},
720
{
821
name: 'qrx',
922
version: 'v1.0.0',
@@ -235,6 +248,8 @@ const getPackageUrl = (pkgName: string) => `https://github.com/stacksjs/${pkgNam
235248
<a v-for="pkg in packages"
236249
:key="pkg.name"
237250
:href="getPackageUrl(pkg.name)"
251+
target="_blank"
252+
rel="noopener"
238253
class="group block overflow-hidden rounded-lg bg-white shadow transition-all hover:shadow-md">
239254
<!-- Card Header -->
240255
<div class="border-b border-gray-100 bg-gray-50 p-4 group-hover:bg-gray-100">
@@ -254,22 +269,22 @@ const getPackageUrl = (pkgName: string) => `https://github.com/stacksjs/${pkgNam
254269
<!-- Metrics -->
255270
<div class="flex items-center justify-between">
256271
<div class="flex items-center gap-1">
257-
<div class="i-heroicons-arrow-down-tray h-4 w-4 text-blue-500" />
272+
<div class="i-heroicons-arrow-down-tray h-4 w-4 text-gray-400 group-hover:text-blue-500 transition-colors" />
258273
<p class="font-semibold">{{ pkg.downloads.toLocaleString() }}</p>
259274
</div>
260275

261276
<div class="flex items-center gap-1">
262-
<div class="i-heroicons-bug-ant h-4 w-4 text-orange-500" />
277+
<div class="i-heroicons-bug-ant h-4 w-4 text-gray-400 group-hover:text-orange-500 transition-colors" />
263278
<p class="font-semibold">{{ pkg.issues }}</p>
264279
</div>
265280

266281
<div class="flex items-center gap-1">
267-
<div class="i-heroicons-users h-4 w-4 text-green-500" />
282+
<div class="i-heroicons-users h-4 w-4 text-gray-400 group-hover:text-green-500 transition-colors" />
268283
<p class="font-semibold">{{ pkg.contributors }}</p>
269284
</div>
270285

271286
<div class="flex items-center gap-1">
272-
<div class="i-heroicons-star h-4 w-4 text-yellow-500" />
287+
<div class="i-heroicons-star h-4 w-4 text-gray-400 group-hover:text-yellow-500 transition-colors" />
273288
<p class="font-semibold">{{ pkg.stars.toLocaleString() }}</p>
274289
</div>
275290
</div>

0 commit comments

Comments
 (0)