git ssb

2+

cel / scuttlebot.io



Tree: c9028fc87e9bbd14dec0ef404f4684a569bd1396

Files: c9028fc87e9bbd14dec0ef404f4684a569bd1396 / tmpl / apps / index.html.js

1430 bytesRaw
1var page = require('../page.part')
2
3// this page is the same as the first guide in basics, but with the big hero
4module.exports = () => page({
5 section: 'apps',
6 path: '/apps/index.html',
7 content: listing([
8 { id: 'patchwork', title: 'Patchwork', desc: 'Inbox, social feed, and profiles.', url: 'https://github.com/ssbc/patchwork' },
9 { id: 'ssb-cli-dashboard', title: 'CLI Dashboard', desc: 'Browse the database state.', url: 'https://github.com/ssbc/ssb-cli-dashboard' },
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' },
12 { id: 'dnssb', title: 'dnssb', desc: 'publish, distribute and query dns records', url: 'https://git-ssb.celehner.com/%25aVOBlkoiDbK99ROZPIaiiDk%2B4q2P4%2BG7MGul4UxkBBM%3D.sha256' },
13 { id: 'add-new', title: 'Add an application', url: 'https://github.com/ssbc/scuttlebot.io/blob/master/add-an-application.md' }
14 ])
15})
16
17function listing (items) {
18 return `<div class="cards">
19 ${ items.map(item => {
20 return `<a class="card" href="${item.url}" target="_blank">
21 <img src="/img/${item.id}.png">
22 <h4>${item.title}</h4>
23 <p>${item.desc||''}</p>
24 </a>`
25 }).join('') }
26 </div>`
27}
28

Built with git-ssb-web