Skip to content

Commit 474f66a

Browse files
committed
Update video, add link to username
1 parent eebe467 commit 474f66a

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

resources/js/pages/v/index.vue

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -192,12 +192,14 @@
192192
@error="$event.target.src = '/storage/avatars/default.jpg'"
193193
/>
194194
</router-link>
195-
<div class="ml-3 pt-0.5 min-w-0 flex-1 items-center">
196-
<div
197-
class="text-base sm:text-[17px] font-semibold dark:text-slate-50 mt-2 -mb-1 truncate"
198-
>
199-
{{ currentVideo.account.username }}
200-
</div>
195+
<div class="ml-3 min-w-0 flex flex-col justify-center">
196+
<router-link :to="`/@${currentVideo.account.username}`">
197+
<div
198+
class="text-base sm:text-[17px] font-semibold dark:text-slate-50 truncate"
199+
>
200+
{{ currentVideo.account.username }}
201+
</div>
202+
</router-link>
201203
<div
202204
class="text-xs sm:text-[13px] font-light flex gap-1 items-center"
203205
>

0 commit comments

Comments
 (0)