git ssb

0+

Zach! / dat-zine-library



Tree: 66d7bd513270b804eb7c6a61a46eb1103afd519a

Files: 66d7bd513270b804eb7c6a61a46eb1103afd519a / building / components / library.js

578 bytesRaw
1const html = require('nanohtml')
2
3const newZineForm = require('./newZineForm')
4const shelving = require('./shelving')
5module.exports = view
6
7function view (state, emit) {
8 return html`
9 <body>
10 <h1>Welcome to your Zine Library, Good Friend!</h1>
11 ${newZineForm()}
12 ${shelving(state)}
13 </body>
14 `
15// newZineForm is a button for adding new zines
16// shelving is the grid that shows all zines pulled from yr zines/ folder
17// I am writing these notes here cos I dont' know how to leave comments in nanohtml code :( .
18// If anyone knows i'd appreciate the help!
19}
20

Built with git-ssb-web