Replace the demo home page with a dashboard

Everyone sees their open tasks on an agenda, their open jobs, this
week's hours and quick links. Admin and management also get a lazily
loaded management panel: things to do, the month so far against the
previous month, jobs and late work, and everyone's workload.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
2026-11-25 09:20:02 +02:00
co-authored by Claude Sonnet 5.5
parent d4251d00d7
commit 487a7d34ba
46 changed files with 2032 additions and 62 deletions
-31
View File
@@ -1,31 +0,0 @@
<?php
use Livewire\Component;
new class extends Component
{
public int $clickCount = 0;
public function incrementClickCount(): void
{
$this->clickCount++;
}
public function render(): mixed
{
return $this->view()->title(__('layout.demo.title'));
}
};
?>
<div class="mx-auto max-w-xl space-y-6 p-6">
<h1 class="text-2xl font-semibold">{{ __('layout.demo.title') }}</h1>
<p class="text-sm text-zinc-600 dark:text-zinc-300">{{ __('layout.demo.intro') }}</p>
<x-button icon="plus" wire:click="incrementClickCount" :text="__('layout.demo.add_click')" />
<p role="status" aria-live="polite" aria-atomic="true" class="text-sm">
{{ __('layout.demo.clicked', ['count' => $clickCount]) }}
</p>
</div>