Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

Add takeoff animation to demo login

Maurice98556c9aaf04
diff --git a/client/src/pages/LoginPage.jsx b/client/src/pages/LoginPage.jsx
index de36efd2e..60a6fef35 100644
--- a/client/src/pages/LoginPage.jsx
+++ b/client/src/pages/LoginPage.jsx
@@ -59,7 +59,8 @@ export default function LoginPage() {
setIsLoading(true)
try {
await demoLogin()
- navigate('/dashboard')
+ setShowTakeoff(true)
+ setTimeout(() => navigate('/dashboard'), 2600)
} catch (err) {
setError(err.message || 'Demo-Login fehlgeschlagen')
} finally {