Commit ed02ea80607adb283fd3b95f8f6bf5d5fab75608
Merge pull request #7 from clehner/gitssb
Add git-ssb to apps pagePaul Frazee authored on 6/12/2016, 9:34:38 PM
GitHub committed on 6/12/2016, 9:34:38 PM
Parent: 370af1a453abd6bbbac19a2ec769d3b7b3bb8532
Parent: 8766e942c58719d9e2f497fd1dead4d67c096397
Files changed
index.js | changed |
tmpl/apps/index.html.js | changed |
tmpl/img/git-ssb.png | added |
tmpl/index.html.js | changed |
index.js | ||
---|---|---|
@@ -15,9 +15,9 @@ | ||
15 | 15 … | // copy folder structure |
16 | 16 … | // console.log('copying directory') |
17 | 17 … | build.dir(entry.relativePath) |
18 | 18 … | } else if (entry.type == 'file') { |
19 | - if (entry.name.indexOf('.html.js') !== -1 || entry.name.indexOf('.css.js') !== -1) { | |
19 … | + if (/\.(html|css).js$/.test(entry.name)) { | |
20 | 20 … | // build html/css files |
21 | 21 … | // console.log('building') |
22 | 22 … | buildTemplate(entry) |
23 | 23 … | } else if (entry.name.indexOf('.part.js') !== -1) { |
tmpl/apps/index.html.js | ||
---|---|---|
@@ -7,8 +7,9 @@ | ||
7 | 7 … | content: listing([ |
8 | 8 … | { id: 'patchwork', title: 'Patchwork', desc: 'Inbox, social feed, and profiles.', url: 'https://github.com/ssbc/patchwork' }, |
9 | 9 … | { id: 'ssb-cli-dashboard', title: 'CLI Dashboard', desc: 'Browse the database state.', url: 'https://github.com/ssbc/ssb-cli-dashboard' }, |
10 | 10 … | { id: 'ssb-simple-whois', title: 'CLI Whois', desc: 'Very simple petname->pubkey lookup.', url: 'https://github.com/ssbc/ssb-simple-whois' }, |
11 … | + { id: 'git-ssb', title: 'git ssb', desc: 'git repos and issue tracking', url: 'https://git-ssb.celehner.com/%25n92DiQh7ietE%2BR%2BX%2FI403LQoyf2DtR3WQfCkDKlheQU%3D.sha256' }, | |
11 | 12 … | { id: 'add-new', title: 'Add an application', url: 'https://github.com/ssbc/scuttlebot.io/blob/master/add-an-application.md' } |
12 | 13 … | ]) |
13 | 14 … | }) |
14 | 15 … |
tmpl/img/git-ssb.png |
---|
tmpl/index.html.js | ||
---|---|---|
@@ -8,13 +8,13 @@ | ||
8 | 8 … | path: '/docs/basics/install-the-database.html', |
9 | 9 … | hero: ` |
10 | 10 … | <div class="hero big"> |
11 | 11 … | <img src="/img/hermies-256.png"> |
12 | - <h1>Scuttlebot<br><small>a peer-to-peer messenger<br>for people tired of cloud software</small></h1> | |
13 | - <p> | |
14 | - ${''/*<a class="cta" href="javascript:alert('TODO: This will popup to a youtube video demoing sbot install and usage, and then patchwork')">▶ See it in action</a>*/} | |
12 … | + <h1>Scuttlebot<br><small>a peer-to-peer log store</small></h1> | |
13 … | + ${''/*<p> | |
14 … | + <a class="cta" href="javascript:alert('TODO: This will popup to a youtube video demoing sbot install and usage, and then patchwork')">▶ See it in action</a> | |
15 | 15 … | <a class="cta dark" href="/docs/basics/install-the-database.html"><small>⬇</small> Download now</a> |
16 | - </p> | |
16 … | + </p>*/} | |
17 | 17 … | <p class="description"> |
18 | 18 … | Scuttlebot is an open source <strong>peer-to-peer log store</strong> used as a database, identity provider, and messaging system. |
19 | 19 … | It features global replication, file-syncronization, and end-to-end encryption.<br> |
20 | 20 … | <br> |
@@ -22,5 +22,5 @@ | ||
22 | 22 … | </p> |
23 | 23 … | </div> |
24 | 24 … | `, |
25 | 25 … | content: installTheDatabase.content() |
26 | -}) | |
26 … | +}) |
Built with git-ssb-web