git ssb

1+

gb / plank



Tree: 8aa977f4e0f34a40979910d5b51417575b042af4

Files: 8aa977f4e0f34a40979910d5b51417575b042af4 / index.js

711 bytesRaw
1var fs = require('fs');
2var h = require('hyperscript');
3var http = require('http')
4
5var site = h('html',
6 h('head',
7 h('title', 'Gwen Bell · Plank Log'),
8 h('style', fs.readFileSync('walkthe.css', 'utf8'))
9 ),
10 h('body',
11 h('div.sidebar',
12 h('h1', 'Gwen Bell\'s Plank Log'),
13 h('p', 'Plank Log: Write it down before it disappears forever.'),
14 h('p', {innerHTML: '<a href="http://gwenbell.com:8807/%25Omw69K3+sY4O6bTMMyecLNgXHpckmthKXjl+1iEPEUk=.sha256" target="splank">Engineer Year</a>'})
15 ),
16 h('div.frame',
17 h('iframe', {name:'splank', href:'http://gwenbell.com'})
18 )
19 )
20)
21
22http.createServer(function (req, res){
23 res.end(site.outerHTML);
24}).listen(1337);
25

Built with git-ssb-web