mirror of
https://github.com/FJurmanovic/wallet-web.git
synced 2026-02-06 06:08:10 +00:00
25 lines
520 B
TypeScript
25 lines
520 B
TypeScript
import { controller } from '@github/catalyst';
|
|
import { html, TemplateResult } from 'lit-html';
|
|
import { BasePageElement } from 'common/';
|
|
|
|
@controller
|
|
class NotFoundElement extends BasePageElement {
|
|
constructor() {
|
|
super({
|
|
title: '404 - Not Found',
|
|
});
|
|
}
|
|
elementConnected = (): void => {
|
|
this.update();
|
|
};
|
|
|
|
render = (): TemplateResult => {
|
|
return html`
|
|
<div>404 - Page not found</div>
|
|
<div><app-link data-to="/" data-title="Homepage"></app-link></div>
|
|
`;
|
|
};
|
|
}
|
|
|
|
export type { NotFoundElement };
|