Replace /:user endpoints with /@:user

This commit is contained in:
Akihiko Odaki 2018-03-27 12:53:56 +09:00
parent 336384a193
commit 834dc49038
45 changed files with 127 additions and 127 deletions

View file

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