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

@ -156,7 +156,7 @@
{/each}
</div>
{:else}
<p class="text-sm text-base-content/60">No event categories exist yet. Add categories to events in Calendar first.</p>
<p class="text-sm text-base-content/60">No event categories exist yet. Add categories to events under Events first.</p>
{/if}
</div>
{:else if block.type === 'shop'}

View file

@ -21,7 +21,7 @@
const autoFilled: Record<string, string> = {
booking_details: 'Filled in automatically with the booked services, date and time, prices and the total paid.',
customer_details: "Filled in automatically with the customer's name, email, phone and checkout notes.",
contact_info: 'Filled in automatically from the business name, address, phone and email in Globals → Footer.'
contact_info: 'Filled in automatically from the business name, address, phone and email in Site design → Footer.'
};
</script>

View file

@ -74,6 +74,6 @@
</div>
</div>
{:else}
<p class="text-sm text-base-content/60">No items yet — create some under Items in the admin.</p>
<p class="text-sm text-base-content/60">Nothing to sell yet — add some under Services & products.</p>
{/if}
</div>