import { css, html, LitElement } from 'lit'; import { customElement } from 'lit/decorators.js'; import { tailwind } from '../styles/tailwind.js'; /** Rendered by the router's `fallback` when no route matches. */ @customElement('not-found-page') export class NotFoundPage extends LitElement { static override styles = [ tailwind, css` :host { display: block; } /* * Tailwind's preflight strips the default link underline, but preflight * is document-level and is not adopted into shadow roots, so the reset * is repeated here. */ a { text-decoration: none; } `, ]; override render() { return html`

Page not found

That route does not exist. Go home.

`; } } declare global { interface HTMLElementTagNameMap { 'not-found-page': NotFoundPage; } }