16 lines
424 B
JavaScript
16 lines
424 B
JavaScript
import { html, PageHeader, definePage } from '/static/hoover/index.js?v=9';
|
|
|
|
export default definePage({
|
|
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>`,
|
|
];
|
|
},
|
|
});
|