Files
vacuum-wall/webui/static/pages/notfound.js
T

17 lines
452 B
JavaScript

import { html, PageHeader, definePage } from '/static/hoover/index.js';
export default definePage({
title: '404 - Vacuum Wall',
init() {
return { path: location.hash.slice(1) || '' };
},
render(state) {
return [
PageHeader({ title: '404' }),
html`<div class="card">
<div class="card-body text-muted">Page not found: ${state.path}</div>
</div>`,
];
},
});