✌️
This commit is contained in:
parent
96bc49adc6
commit
cd9fc9a717
7 changed files with 97 additions and 99 deletions
|
|
@ -1,15 +1,15 @@
|
|||
<template>
|
||||
<div class="mk-post-preview">
|
||||
<a class="avatar-anchor" :href="`/${post.user.username}`">
|
||||
<router-link class="avatar-anchor" :to="`/${post.user.username}`">
|
||||
<img class="avatar" :src="`${post.user.avatar_url}?thumbnail&size=64`" alt="avatar"/>
|
||||
</a>
|
||||
</router-link>
|
||||
<div class="main">
|
||||
<header>
|
||||
<a class="name" :href="`/${post.user.username}`">{{ post.user.name }}</a>
|
||||
<router-link class="name" :to="`/${post.user.username}`">{{ post.user.name }}</router-link>
|
||||
<span class="username">@{{ post.user.username }}</span>
|
||||
<a class="time" :href="`/${post.user.username}/${post.id}`">
|
||||
<router-link class="time" :to="`/${post.user.username}/${post.id}`">
|
||||
<mk-time :time="post.created_at"/>
|
||||
</a>
|
||||
</router-link>
|
||||
</header>
|
||||
<div class="body">
|
||||
<mk-sub-post-content class="text" :post="post"/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue