[Client] 良い感じに

This commit is contained in:
syuilo 2017-02-24 18:15:19 +09:00
parent 1fc9d4a6b1
commit b93d679af2

View file

@ -35,16 +35,13 @@
</div>
</div>
<nav>
<a data-is-active={ page == 'posts' } onclick={ go.bind(null, 'posts') }>投稿</a>
<a data-is-active={ page == 'posts' } onclick={ go.bind(null, 'posts') }>タイムライン</a>
<a data-is-active={ page == 'media' } onclick={ go.bind(null, 'media') }>メディア</a>
<a data-is-active={ page == 'graphs' } onclick={ go.bind(null, 'graphs') }>グラフ</a>
<a data-is-active={ page == 'likes' } onclick={ go.bind(null, 'likes') }>いいね</a>
</nav>
</header>
<div class="body">
<mk-user-timeline if={ page == 'posts' } user={ user }></mk-user-timeline>
<mk-user-timeline if={ page == 'media' } user={ user } with-media={ true }></mk-user-timeline>
<mk-user-graphs if={ page == 'graphs' } user={ user }></mk-user-graphs>
</div>
</div>
<style>