Files: 144d08f547a26de56fd10b542128be8b56af51b3 / views / 404.js
343 bytesRaw
1 | var html = require('choo/html') |
2 | |
3 | var TITLE = 'double - route not found' |
4 | |
5 | module.exports = view |
6 | |
7 | function 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