Skip to content

fix: correct page transition direction and centralize nav config#25

Merged
jakebodea merged 2 commits intodevfrom
fix/nav-transition-shared-config
Feb 12, 2026
Merged

fix: correct page transition direction and centralize nav config#25
jakebodea merged 2 commits intodevfrom
fix/nav-transition-shared-config

Conversation

@jakebodea
Copy link
Owner

@jakebodea jakebodea commented Feb 12, 2026

Summary

  • Fix projects/timeline transition sliding from wrong side (nav order was mismatched between TopNav and NavigationProvider)
  • Extract nav items to shared lib/nav-config.ts for single source of truth
  • TopNav and NavigationProvider now both import from nav-config — changes in one place reflect everywhere

Made with Cursor


Note

Low Risk
Small refactor to shared constants plus a minor behavior fix in transition direction logic; limited to navigation config usage.

Overview
Centralizes the app’s navigation configuration into a new lib/nav-config.ts, exporting navItems plus a derived navOrder as a single source of truth.

Updates TopNav and NavigationProvider to import from this shared config, aligning tab rendering/shortcuts with the transition-direction calculation so cross-section animations no longer slide from the wrong side.

Written by Cursor Bugbot for commit baa9d3f. This will update automatically on new commits. Configure here.

- Fix projects/timeline transition sliding from wrong side (nav order mismatch)
- Extract nav items to shared lib/nav-config.ts for single source of truth
- TopNav and NavigationProvider now both import from nav-config

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel
Copy link
Contributor

vercel bot commented Feb 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
personal-website Ready Ready Preview, Comment Feb 12, 2026 5:51am

…ibility

Co-authored-by: Cursor <cursoragent@cursor.com>
@jakebodea jakebodea merged commit 2316064 into dev Feb 12, 2026
4 checks passed
@jakebodea jakebodea deleted the fix/nav-transition-shared-config branch February 12, 2026 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant