This commit is contained in:
syuilo
2018-02-22 22:51:33 +09:00
parent e651bd12c3
commit 4b228432c1
7 changed files with 92 additions and 87 deletions

View File

@@ -1,11 +1,11 @@
<template>
<div class="mk-user-preview">
<a class="avatar-anchor" :href="`/${user.username}`">
<router-link class="avatar-anchor" :to="`/${user.username}`">
<img class="avatar" :src="`${user.avatar_url}?thumbnail&size=64`" alt="avatar"/>
</a>
</router-link>
<div class="main">
<header>
<a class="name" :href="`/${user.username}`">{{ user.name }}</a>
<router-link class="name" :to="`/${user.username}`">{{ user.name }}</router-link>
<span class="username">@{{ user.username }}</span>
</header>
<div class="body">