Admin: dashboard at / with income and hours; Site design 2x2 grid

The dashboard shows income (paid orders, by the month they were paid),
hours worked and still booked this month, the next 7 days' bookings and
a 12-month table. Booked time is counted with overlaps merged, so a
group session is one hour of work however many people booked it.
Login and the sidebar title now land on the dashboard.

Site design: four cards in a three-column grid left Style alone under
Header. Two columns on xl (Header|Footer, Colors|Style) and all four
side by side from 2xl.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HA82gV9YDZk1XhjJ5LtyAt
This commit is contained in:
agent 2026-10-27 08:54:57 +00:00
parent 312dc5ed3c
commit bdc040636a
8 changed files with 270 additions and 34 deletions

View file

@ -30,7 +30,7 @@ export const handle: Handle = async ({ event, resolve }) => {
}
if (isLoginRoute && isAuthed && event.request.method === 'GET') {
throw redirect(303, '/pages');
throw redirect(303, '/');
}
const response = await resolve(event);