git ssb

2+

cel / scuttlebot.io



Tree: a738ecf91d844ee886e94857a82177ab446113f1

Files: a738ecf91d844ee886e94857a82177ab446113f1 / tmpl / footer.part.js

1290 bytesRaw
1function item (current, path, label) {
2 var cls = ''
3 if (current == path)
4 cls = 'class="current"'
5 return `<li ${cls}><a href="${path}" title="${label}">${label}</a></li>`
6}
7
8module.exports = (c) => `<div class="footer">
9 <ul class="footer-section">
10 <li>Guides</li>
11 ${item(c, '/guides/lets-write-a-todo-list-app/intro.html', 'Let\'s Write: a Todo-List app')}
12 ${item(c, '/guides/lets-write-a-private-messaging-app/intro.html', 'Let\'s Write: a Private Messaging app')}
13 ${item(c, '/guides/lets-write-a-file-sharing-app/intro.html', 'Let\'s Write: a File-Sharing app')}
14 ${item(c, '/guides/how-to-use-pull-streams/intro.html', 'How to use Pull Streams')}
15 </ul>
16 <ul class="footer-section">
17 <li>Applications</li>
18 <li><a href="https://github.com/ssbc/patchwork" title="Patchwork">Patchwork</a>
19 <li><a href="https://github.com/ssbc/ssb-blessed-dashboard" title="CLI Dashboard">CLI Dashboard</a>
20 <li><a href="https://github.com/ssbc/ssb-example-pm" title="CLI Private Msg">CLI Private Msg</a>
21 </ul>
22 <ul class="footer-section">
23 <li>Community</li>
24 <li><p>#scuttlebutt on freenode</p></li>
25 <li><a href="https://github.com/ssbc">GitHub Org</a></li>
26 <li><a href="https://github.com/ssbc/scuttlebot">GitHub Repo</a></li>
27 </ul>
28</div>`

Built with git-ssb-web