import { html, LitElement, type TemplateResult } from 'lit'

/**
 * The `/` route host. Renders nothing itself — the map (`m-map`) lives
 * outside the router and is merely unhidden on this route — but the element
 * must exist: the router mounts it into `main`, and the map-page height
 * chain in theme.css is keyed on `body:has(r-home)`.
 */
export class MapPage extends LitElement {
  protected override createRenderRoot() {
    return this
  }

  override render(): TemplateResult {
    return html``
  }
}

customElements.define('r-home', MapPage)
