Readlebee/app/views/404.js

12 lines
277 B
JavaScript
Raw Normal View History

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>`;
}