1
Fork 0
href-plus/source/ts/pages/not-found.ts

21 lines
419 B
TypeScript

import {Component, html} from 'htm/preact';
import SharedFooter from '../components/shared-footer.js';
export default class NotFoundPage extends Component {
render() {
document.title = 'Page Not Found';
return html`
<div class="not-found-page">
<main>
<h1>Page Not Found</h1>
<a href="/">← Home</a>
</main>
<${SharedFooter} />
</div>
`;
}
}