[Client:Desktop] Add link

This commit is contained in:
syuilo 2017-03-26 02:29:52 +09:00
parent b0c12d09e3
commit b2587a192a
1 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,7 @@
<p class="title"><i class="fa fa-fire"></i>トレンド</p> <p class="title"><i class="fa fa-fire"></i>トレンド</p>
<button onclick={ fetch } title="他を見る"><i class="fa fa-refresh"></i></button> <button onclick={ fetch } title="他を見る"><i class="fa fa-refresh"></i></button>
<div class="post" if={ !loading && post != null }> <div class="post" if={ !loading && post != null }>
<p class="text">{ post.text }</p> <p class="text"><a href="/{ post.user.username }/{ post.id }">{ post.text }</a></p>
<p class="author"><a href="/{ post.user.username }">@{ post.user.username }</a></p> <p class="author"><a href="/{ post.user.username }">@{ post.user.username }</a></p>
</div> </div>
<p class="empty" if={ !loading && post == null }>ありません!</p> <p class="empty" if={ !loading && post == null }>ありません!</p>
@ -50,6 +50,7 @@
> p > p
margin 0 margin 0
> .text,
> .author > .author
> a > a
color inherit color inherit