feat: add dashboard page with stats, quick actions, recent vehicles, update navigation and login redirect

This commit is contained in:
2026-07-19 19:33:08 +02:00
parent 5ae1e28ef2
commit 58fcf4a722
7 changed files with 305 additions and 1 deletions
+9
View File
@@ -13,6 +13,15 @@ interface NavItem {
}
const navItems: NavItem[] = [
{
href: '/de/dashboard',
labelKey: 'nav.dashboard',
icon: (
<svg xmlns="http://www.w3.org/2000/svg" className="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6" />
</svg>
),
},
{
href: '/de/fahrzeuge',
labelKey: 'nav.vehicles',