Skip to content

Commit d02e3fa

Browse files
GeneAIclaude
authored andcommitted
perf: Reduce redirect delay from 3s to 500ms
Make the /docs redirect faster for better UX 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 1588953 commit d02e3fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/app/docs/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default function DocsRedirectPage() {
1111
// Redirect to the new documentation after a short delay
1212
const timer = setTimeout(() => {
1313
router.push('/framework-docs/');
14-
}, 3000);
14+
}, 500);
1515

1616
return () => clearTimeout(timer);
1717
}, [router]);
@@ -26,7 +26,7 @@ export default function DocsRedirectPage() {
2626
Our documentation has been upgraded to a comprehensive MkDocs site with 45+ wizard guides.
2727
</p>
2828
<p className="text-[var(--text-secondary)] mb-8">
29-
Redirecting you to the new documentation in 3 seconds...
29+
Redirecting you to the new documentation...
3030
</p>
3131
</div>
3232

0 commit comments

Comments
 (0)