mirror of
https://github.com/FJurmanovic/wallet-web.git
synced 2026-11-11 15:51:10 +00:00
created login page
This commit is contained in:
25
src/pages/not-found/NotFoundElement.ts
Normal file
25
src/pages/not-found/NotFoundElement.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
import { controller } from "@github/catalyst";
|
||||
import { closest, update } from "core/utils";
|
||||
import { html, render } from "@github/jtml";
|
||||
import { AppMainElement } from "components/";
|
||||
|
||||
@controller
|
||||
class NotFoundElement extends HTMLElement {
|
||||
@closest appMain: AppMainElement;
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
@update
|
||||
connectedCallback() {}
|
||||
|
||||
render() {
|
||||
return html`
|
||||
<div>404 - Page not found</div>
|
||||
<div><app-link data-to="/" data-title="Homepage"></app-link></div>
|
||||
`;
|
||||
}
|
||||
|
||||
update() {
|
||||
render(this.render(), this);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user