import { gettext } from "django"; import { CSSResult, customElement, html, LitElement, property, TemplateResult } from "lit-element"; import { COMMON_STYLES } from "../../common/styles"; @customElement("ak-router-404") export class Router404 extends LitElement { @property() url = ""; static get styles(): CSSResult[] { return COMMON_STYLES; } render(): TemplateResult { return html`

${gettext("Not found")}

${gettext(`The URL '${this.url}' was not found.`)}
${gettext("Return home")}
`; } }