Admin navigation: grouped sidebar, plainer labels, Backup page

Agreed with the site owner:
- Grouped sidebar (Website / Bookings / Settings) instead of a flat top
  bar that overflowed on phones; a drawer with a hamburger below lg.
  Signed-in email and Log out at the bottom.
- Labels: Globals → Site design, Items → Services & products,
  Calendar → Events, Export/Import → Backup (URLs unchanged); page headings
  and cross-references updated to match.
- Export/import moved from a navbar dropdown to a /backup page that says
  what is and isn't included.
- Admin event calendar starts weeks on Monday (createCalendarMonth gains an
  optional weekStartsOn; the public block is unchanged).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KgF3Kf47LjPGHKQHszpUAv
This commit is contained in:
agent 2026-10-06 11:00:01 +00:00
parent 9264289813
commit fbcc71672b
11 changed files with 485 additions and 417 deletions

View file

@ -43,7 +43,7 @@
};
</script>
<svelte:head><title>Globals | CMS</title></svelte:head>
<svelte:head><title>Site design | CMS</title></svelte:head>
{#snippet status(section: string)}
{#if form?.section === section && form.message}
@ -61,8 +61,8 @@
{/snippet}
<div class="mb-6">
<h1 class="text-3xl font-bold">Global sections</h1>
<p class="text-base-content/60">Edit the site header, footer, and global color settings.</p>
<h1 class="text-3xl font-bold">Site design</h1>
<p class="text-base-content/60">The header, footer and colors shared by every page of the site.</p>
</div>
<div class="grid gap-6 xl:grid-cols-3">