props { state }: { state: "idle" | "loading" | "ready" | "error" }

section.status-card(aria-live="polite")
  switch state
    case "idle"
      p Choose an action.
    case "loading"
      p(role="status") Loading…
    case "ready"
      p Ready.
    default
      p(role="alert") Something went wrong.
