git ssb

3+

ev / sdash



Commit 62cff98abf3289863d393a35f5554c0c743472ed

commit changes from vps

Ev Bogue committed on 10/29/2016, 12:21:27 AM
Parent: 939131de1b3dc97dbc7e870137b2b17017486f75

Files changed

index.jschanged
package.jsonchanged
style.csschanged
index.jsView
@@ -9,9 +9,9 @@
99 var ref = require('ssb-ref')
1010
1111 var title = 'sdash'
1212 var me = '@8Qee0I/DwI5DHSCi3p5fsl6FyLGArrnDz3ox9qZr5Qc=.ed25519'
13-var bloburl = 'http://localhost:8989/blobs/get/'
13 +var bloburl = 'https://evbogue.com/ws/blobs/get/'
1414
1515 http.createServer(function (req, res){
1616 if (req.url === '/') {
1717 client(function (err, sbot) {
@@ -36,14 +36,12 @@
3636 h('style', fs.readFileSync('style.css', 'utf8'))
3737 ),
3838 h('body',
3939 h('div.msg',
40- h('p.small.ri', 'post'),
40 + h('p.small.ri', mo(post.value.timestamp).fromNow()),
4141 h('img.avatar', {src: bloburl + image}),
4242 h('a', {href: me }, '@' + name),
43- h('div', {innerHTML: md.block(post.value.content.text)},
44- h('span.date', mo(post.value.timestamp).fromNow())
45- )
43 + h('div', {innerHTML: md.block(post.value.content.text)})
4644 )
4745 )
4846 ).outerHTML)
4947 }
package.jsonView
@@ -1,14 +1,14 @@
11 {
22 "name": "sdash",
3- "version": "2.0.0",
3 + "version": "2.0.1",
44 "description": "personal gateway to the scuttlebot distributed social network",
55 "main": "index.js",
66 "dependencies": {
77 "hyperscript": "^2.0.2",
88 "moment": "^2.15.0",
99 "pull-stream": "^3.4.5",
10- "ssb-avatar": "^0.1.0",
10 + "ssb-avatar": "^0.2.0",
1111 "ssb-client": "^4.0.3",
1212 "ssb-markdown": "^3.0.0"
1313 },
1414 "author": "Ev Bogue"
style.cssView
@@ -1,8 +1,8 @@
11 body {
22 font-family: 'Source Sans Pro', sans-serif;
33 color: #333;
4- width: 60%;
4 + width: 100%;
55 margin-right: auto;
66 margin-left: auto;
77 }
88

Built with git-ssb-web