Files: bb1d879ac72e9462c12547ce70a4ccba104a1066 / src / views / header.js
692 bytesRaw
1 | const html = require('choo/html') |
2 | |
3 | module.exports = function headerView (state) { |
4 | return html` |
5 | <header> |
6 | <nav class="pa3 pa4-ns bg-light-blue"> |
7 | <a class="link dim black b f6 f5-ns dib mr3" href="/" title="SSB News">ssb-news</a> |
8 | <a class="link dim gray f6 f5-ns dib mr3" href="/recent" title="Home">recent</a> |
9 | <a class="link dim gray f6 f5-ns dib mr3" href="/comments" title="About">comments</a> |
10 | <a class="link dim gray f6 f5-ns dib mr3" href="/search" title="Store">search</a> |
11 | <a class="link dim gray f6 f5-ns dib mr3" href="/user/${state.user}" title="Store">profile</a> |
12 | </nav> |
13 | </header> |
14 | ` |
15 | } |
16 |
Built with git-ssb-web