Neues Design: Tailwind + shadcn-vue statt Vuetify/Material 3
Some checks failed
CI / PHP 8.4 / mariadb:10.6 (pull_request) Failing after 1m3s
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 1m7s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Failing after 1m16s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Failing after 1m20s
CI / PHP 8.4 / mysql:8.0 (pull_request) Successful in 1m29s
CI / PHP 8.3 / mysql:8.0 (pull_request) Successful in 1m33s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 1m28s
CI / PHP 8.3 / mysql:8.4 (pull_request) Successful in 1m33s
CI / Build-Artefakte aktuell (pull_request) Failing after 52s

- Nüchterne, professionelle Optik: neutrale Flächen, Markenfarbe nur als Akzent, Inter-Schrift (lokal)
- Zweizeiliger Header mit Suche, Hauptnavigation und Avatar-Menü
- Startseite mit Begrüßungskarte, Schnellzugriffen und „Neu im Team“
- Personenverzeichnis mit Suche, Abteilungsfilter und Seitenaufteilung
- Markenfarbe exakt übernommen, Abstufungen serverseitig in OKLCH (ColorPalette) –
  gemeinsam für Portal und Admin, keine Farbberechnung im Browser
- Schnellzugriffe im Admin pflegbar
- Filament-Avatare lokal statt über ui-avatars.com (DSGVO)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Friederich Loheide 2026-09-25 20:51:53 +00:00
parent 9c0f8de791
commit 5a3f1f34c7
141 changed files with 3873 additions and 974 deletions

View file

@ -3,6 +3,7 @@
namespace App\Http\Middleware;
use App\Support\Branding;
use App\Support\Navigation;
use Illuminate\Http\Request;
use Inertia\Middleware;
@ -10,7 +11,10 @@ class HandleInertiaRequests extends Middleware
{
protected $rootView = 'app';
public function __construct(private readonly Branding $branding) {}
public function __construct(
private readonly Branding $branding,
private readonly Navigation $navigation,
) {}
/**
* @return array<string, mixed>
@ -34,6 +38,7 @@ class HandleInertiaRequests extends Middleware
'is_admin' => $user->is_admin,
] : null,
],
'navigation' => fn () => $user ? $this->navigation->items($request) : [],
'flash' => [
'status' => fn () => $request->session()->get('status'),
],