Update user-profile.tag

Add posts_count
Edit "friends" -> "status"
This commit is contained in:
mofu 2017-05-28 20:12:38 +09:00 committed by GitHub
parent 856690ac1f
commit 6aa7aa33a4
1 changed files with 3 additions and 2 deletions

View File

@ -10,7 +10,8 @@
<div class="twitter" if={ user.twitter }>
<p><i class="fa fa-twitter"></i><a href={ 'https://twitter.com/' + user.twitter.screen_name } target="_blank">@{ user.twitter.screen_name }</a></p>
</div>
<div class="friends">
<div class="status">
<p class="posts-count"><i class="fa fa-angle-right"></i>{ user.posts_count }<b>ポスト</b></p>
<p class="following"><i class="fa fa-angle-right"></i><a onclick={ showFollowing }>{ user.following_count }</a>人を<b>フォロー</b></p>
<p class="followers"><i class="fa fa-angle-right"></i><a onclick={ showFollowers }>{ user.followers_count }</a>人の<b>フォロワー</b></p>
</div>
@ -66,7 +67,7 @@
> i
margin-right 8px
> .friends
> .status
padding 16px
color #555
border-top solid 1px #eee