git ssb

2+

ev / mvd



Commit 6de4955b21f8b14a57ff5ec61868f8dd7d427176

add about page

Ev Bogue committed on 5/25/2018, 5:37:36 PM
Parent: cf23c56e2b9a801e98a978e077454fa36839c631

Files changed

index.jschanged
views.jschanged
about.jsadded
index.jsView
@@ -11,9 +11,10 @@
1111 var nav = h('div.navbar',
1212 h('div.internal',
1313 h('li', h('a', {href: '#' + id}, h('span.avatar--small', avatar.image(id)))),
1414 h('li', h('a', {href: '#' + id}, avatar.name(id))),
15- h('li', h('a', {href: '#'}, 'Public'))
15 + h('li', h('a', {href: '#'}, 'Public')),
16 + h('li.right', h('a', {href: '#about'}, '?'))
1617 )
1718 )
1819
1920 document.body.appendChild(nav)
views.jsView
@@ -6,8 +6,10 @@
66 var h = require('hyperscript')
77 var render = require('./render')
88 var ref = require('ssb-ref')
99
10 +var fs = require('fs')
11 +
1012 var compose = require('./compose')
1113
1214 function hash () {
1315 return window.location.hash.substring(1)
@@ -65,9 +67,20 @@
6567 })
6668 )
6769 })
6870 })
69- } else {
71 + }
72 + else if (src == 'about') {
73 +
74 + var screen = document.getElementById('screen')
75 +
76 + var about = require('./about')
77 +
78 + var content = h('div.content', about)
79 +
80 + screen.appendChild(hyperscroll(content))
81 + }
82 + else {
7083 var content = h('div.content')
7184 var screen = document.getElementById('screen')
7285 screen.appendChild(hyperscroll(content))
7386 function createStream (opts) {
about.jsView
@@ -1,0 +1,36 @@
1 +var h = require('hyperscript')
2 +
3 +module.exports = function () {
4 + var content = h('div.message',
5 + h('p', h('strong', 'Decent'), ' is a decent(ralized) social network for business and development, built on ', h('a', {href: 'http://scuttlebot.io/'}, 'secure-scuttlebutt' ), '. Decent is maintained by ', h('a', {href: 'http://evbogue.com/'}, 'Everett Bogue'), '.'),
6 + h('p', h('strong', 'git repositories:')),
7 + h('ul',
8 + h('li', h('a', {href: 'http://github.com/evbogue/decent'}, 'Decent'), ' [Github]'),
9 + h('li', h('a', {href: 'http://github.com/evbogue/mvd'}, 'mvd'), ' [Github]')
10 + ),
11 + h('p', h('strong', 'secure-scuttlebutt'), ' (ssb) is a protocol for creating off-grid social networks using a gossip network to sync signed secure data from your friends (and their friends) to your local machine. ssb was invented by ', h('a', {href: 'http://dominictarr.com/'}, 'Dominic Tarr'), ' and is maintained by the ', h('a', {href: 'http://github.com/ssbc/'}, 'secure-scuttlebutt consortium (ssbc)'), '.'),
12 + h('p', h('strong', 'Press for ssb:')),
13 + h('ul',
14 + h('li', h('a', {href: 'https://staltz.com/an-off-grid-social-network.html'}, 'An Off-Grid Social Network'), ' [Andre Staltz]'),
15 + h('li', h('a', {href: 'https://www.theatlantic.com/technology/archive/2017/05/meet-the-counterantidisintermediationists/527553/'}, '...Exploding the Internet into Pieces'), ' [The Atlantic]'),
16 + h('li', 'Ev presents Decent at Chicago Node.js: ',
17 + h('a', {href: 'http://evbogue.com/decent1.webm'}, 'Part 1'), ' ',
18 + h('a', {href: 'http://evbogue.com/decent2.webm'}, 'Part 2'), ' ',
19 + h('a', {href: 'http://evbogue.com/decent3.webm'}, 'Part 3'), ' ',
20 + h('a', {href: 'http://evbogue.com/decent4.webm'}, 'Part 4'), ' '
21 + )
22 + ),
23 + h('p', h('strong', 'Use Decent'), ' on your local machine by cloning the repository and building the software. Or, use a public Decent Pub to try Decent over websockets.'),
24 + h('p', h('strong', 'Save your ', h('a', {href:'#key'} , 'key')), ' somewhere safe(!) to write to your append-only log. Decent will share your log with your friends (and their friends) using the gossip network. While you can edit messages by appending new messages to your log, any message you post will always exist on your secure log. Use your key on one Decent at a time to avoid forking your log. Use different keys on multiple devices.'),
25 + h('p', 'Decent Pubs:'),
26 + h('ul',
27 + h('li', h('a', {href: 'http://decent.evbogue.com/'}, 'decent.evbogue.com')),
28 + h('li', h('a', {href: 'http://decent.gwenbell.com'}, 'decent.gwenbell.com')),
29 + h('li', 'Add your Decent ', h('a', {href: 'http://github.com/evbogue/mvd/'}, 'here'))
30 + ),
31 + h('p', 'The best way to use Decent is on your local machine, because you can read and write to your Decent without an Internet connection. Your messages will sync when you come online! Contact a Decent pub owner to request an invite to connect from your local machine.'),
32 + h('p', 'glhf and remember the first rule of Decent: be decent. -Ev')
33 + )
34 +
35 + return content
36 +}

Built with git-ssb-web