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
+1 -1
View File
@@ -41,7 +41,7 @@ function LoginForm() {
const tokens = await apiLogin(email, password);
setTokens(tokens);
showToast(t('login.success'), 'success');
router.push('/de/fahrzeuge');
router.push('/de/dashboard');
} catch (err) {
const message = (err as any)?.error?.message || t('login.error.invalidCredentials');
showToast(message, 'error');