git ssb

2+

mixmix / ticktack



Commit 2f08a973278af539f75b3b3768653ce18f35cecd

add quick link to your profile in header (TEMP)

mix irving committed on 8/25/2017, 10:18:42 PM
Parent: dda4e76777af86ce15043c624df15895344368da

Files changed

app/html/header.jschanged
app/html/header.jsView
@@ -2,8 +2,10 @@
22 const { h, computed } = require('mutant')
33
44 exports.gives = nest('app.html.header')
55
6+exports.needs = nest('keys.sync.id', 'first')
7+
68 exports.create = (api) => {
79 return nest('app.html.header', (nav) => {
810 return h('Header', [
911 h('nav', [
@@ -14,8 +16,9 @@
1416 // breadcrumb here potentially
1517 // h('h1', computed(nav.location, e => e.element.title)),
1618
1719 h('div.tools', [
20+ h('i.fa.fa-user', { 'ev-click': () => nav.push({page:'userEdit', feed: api.keys.sync.id()}) }), // TEMP
1821 h('i.fa.fa-address-book', { 'ev-click': () => nav.push({page:'userFind'}) }),
1922 h('i.fa.fa-hashtag', { 'ev-click': () => nav.push({page:'groupFind'}) }),
2023 h('i.fa.fa-gear', { 'ev-click': () => nav.push({page:'settings'}) })
2124 ])

Built with git-ssb-web