feat(website): church details, settings, audit log, search engine data, safer editing

Church details saved through Accounts' church.update (live at once).
Settings: Search Console and Bing codes, Coming soon line, menu order.
Audit log and recent edits. A made share image, Event / VideoObject /
PodcastEpisode / BreadcrumbList structured data, permanent redirects
from old page addresses. Saves refused when someone else saved in
between; Ministry leaders' events; templates previewed with the
church's own content before choosing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-25 15:30:27 +02:00
co-authored by Claude Opus 5.5
parent d8ed238042
commit 085265392e
37 changed files with 951 additions and 91 deletions
@@ -9,6 +9,7 @@ import { cx, useAdmin } from "./ui";
const NAV = [
{ href: "/admin", label: "Dashboard" },
{ href: "/admin/template", label: "Template and style" },
{ href: "/admin/church", label: "Church details" },
{ href: "/admin/pages", label: "Pages" },
{ href: "/admin/ministries", label: "Ministries" },
{ href: "/admin/leaders", label: "Leadership" },
@@ -17,7 +18,9 @@ const NAV = [
{ href: "/admin/linked", label: "Linked products" },
{ href: "/admin/media", label: "Media library" },
{ href: "/admin/publish", label: "Publish and history" },
{ href: "/admin/settings", label: "Settings" },
{ href: "/admin/people", label: "People", managers: true },
{ href: "/admin/audit", label: "Audit log", managers: true },
];
export function AdminShell({ user, children }: { user: { name: string; role: string }; children: React.ReactNode }) {