git ssb

0+

punkmonk / double



Tree: dcd99d6227eb3ed81cda0e5550b37e159116ed64

Files: dcd99d6227eb3ed81cda0e5550b37e159116ed64 / views / 404.js

343 bytesRaw
1var html = require('choo/html')
2
3var TITLE = 'double - route not found'
4
5module.exports = view
6
7function view (state, emit) {
8 if (state.title !== TITLE) emit(state.events.DOMTITLECHANGE, TITLE)
9 return html`
10 <body class="sans-serif pa3">
11 <h1>Route not found.</h1>
12 <a class="pt2" href="/">Back to main.</a>
13 </body>
14 `
15}
16

Built with git-ssb-web