import { escapeHtml } from "../utils/escape-html.js";

export function renderStubPage(outlet, title, body) {
  outlet.innerHTML = `
    <div class="mx-auto max-w-3xl px-1 py-4">
      <h1 class="text-2xl font-bold text-white sm:text-3xl">${escapeHtml(title)}</h1>
      <p class="mt-4 text-slate-400">${escapeHtml(body || "Bu sayfa kısa süre içinde güncellenecek.")}</p>
    </div>
  `;
}
