Skip to content

feat(nav): add Home entry to mobile nav menu#127

Merged
hyldmo merged 2 commits into
mainfrom
hyldmo/mobile-nav-entry
May 10, 2026
Merged

feat(nav): add Home entry to mobile nav menu#127
hyldmo merged 2 commits into
mainfrom
hyldmo/mobile-nav-entry

Conversation

@hyldmo
Copy link
Copy Markdown
Owner

@hyldmo hyldmo commented May 10, 2026

Summary

  • Adds Home (/) as the first entry in FAVORITABLE_ROUTES so it shows up in the mobile hamburger drawer with a star toggle.
  • Plumbs an optional end flag through FavoritableRoute / Link so the Home NavLink only highlights on the dashboard route (otherwise / would match every path).
  • Defaults unchanged — users can pin Home themselves; if all 4 bottom-bar slots are full it replaces the oldest.

Test plan

  • Sign in on mobile, open the hamburger drawer, confirm "Home" appears at the top with a star toggle
  • Pin Home → it appears in the bottom tab bar
  • Navigate to /recipes; bottom-bar Home entry is not highlighted
  • Navigate to /; Home entry is highlighted

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 10, 2026

Preview deployment

URL https://hyldmo-mobile-nav-entry.macromaxxing.pages.dev
Branch hyldmo/mobile-nav-entry
Commit 83aa444

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@hyldmo hyldmo merged commit 715b644 into main May 10, 2026
3 checks passed
@hyldmo hyldmo deleted the hyldmo/mobile-nav-entry branch May 10, 2026 18:09
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