/* views/privacy.js — นโยบายความเป็นส่วนตัว (หน้าเดียวใน SPA, route #/privacy) */ import { escapeHtml } from "../ui.js"; export function privacyView(ctx) { const ownerName = escapeHtml(ctx.data.owner_name || ""); const updated = new Date().toLocaleDateString("th-TH", { year: "numeric", month: "long", day: "numeric", }); return { mount(root) { root.innerHTML = `
`; }, }; }