Dev portal sidebar

This commit is contained in:
2024-09-22 20:15:32 +08:00
parent 8763923f33
commit 99522e1001
7 changed files with 75 additions and 50 deletions

View File

@@ -2,7 +2,9 @@
<v-card :to="url" class="mx-[2.5ch] mb-3">
<v-card-text>
<div class="mb-3 flex flex-row gap-4">
<v-avatar :image="post.author?.avatar" />
<nuxt-link :to="`/users/${post.author?.name}`">
<v-avatar :image="post.author?.avatar" />
</nuxt-link>
<div class="flex flex-col">
<span>{{ post.author?.nick }} <span class="text-xs">@{{ post.author?.name }}</span></span>
<span v-if="post.body?.title" class="text-md">{{ post.body?.title }}</span>