Skip to content

armgit / qm

Public Imported from GitHub
0

Multiplayer agent harness for work.

524 B
Raw Blame
import { html, render } from "lit";
import { appState, replacePanePreservingFocus } from "./shell";

export function renderCalendar(): void {
  if (appState.currentView !== "calendar" || !appState.mainEl) return;
  const host = document.createElement("div");
  host.className = "pane content-wide-page";
  render(
    html`
      <div class="pane-head">
        <h1 class="pane-title">Calendar</h1>
      </div>
      <div class="empty compact">Coming soon.</div>
    `,
    host,
  );
  replacePanePreservingFocus(host);
}