1
0
Fork 0
mirror of https://gitlab.com/Alamantus/Readlebee.git synced 2025-04-19 01:50:08 +02:00
Readlebee/app/views/404.js
Robbie Antenesse b093595f1d Restructure app initiation
- Split initialization steps into their own files.
- Use Choo routes instead of viewManager to properly set up 404
- Add styling for different colors of Picnic cards
2019-09-25 12:32:52 -06:00

12 lines
No EOL
277 B
JavaScript

import html from 'choo/html';
export const errorView = (state, emit, i18n) => {
return html`<section class="error card">
<header>
<h1>${i18n.__('404.header')}</h1>
</header>
<footer>
<h2>${i18n.__('404.subheader')}</h2>
</footer>
</section>`;
}