git ssb

0+

punkmonk / double



Tree: 543423934bab207e903927a812ea891b52c1f438

Files: 543423934bab207e903927a812ea891b52c1f438 / 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