Skip to content

Unify secondary top nav styling and add mobile scroll hints - #11

Merged
CharanMN7 merged 1 commit into
mainfrom
cursor/fix-secondary-top-nav
Jul 22, 2026
Merged

Unify secondary top nav styling and add mobile scroll hints#11
CharanMN7 merged 1 commit into
mainfrom
cursor/fix-secondary-top-nav

Conversation

@CharanMN7

Copy link
Copy Markdown
Contributor

Summary

  • Consolidate doc tabs, anchors, and navbar links into a shared SecondaryTopNav component with uniform underline active states
  • Flush the active tab underline against the header bottom border (no gap)
  • Add mobile-only horizontal scroll with edge fade shadows and chevron hints via ScrollableTopNav
  • Pass pathname into buildTopBar() so Blog and Changelog highlight correctly on their routes

Test plan

  • npm run build passes for examples/inkform-docs, markdown-docs, and pokeapi-docs
  • Verify Documentation / Blog / Changelog active states on desktop
  • Verify secondary nav scrolls with chevron hints on mobile
  • Confirm external links (e.g. GitHub) never show active underline

Made with Cursor

Consolidate tabs, anchors, and navbar links into SecondaryTopNav with consistent active underlines, flush header borders, and pathname-aware highlighting for blog/changelog routes.

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

vercel Bot commented Jul 22, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
framework-inkform-docs Building Building Preview, Comment Jul 22, 2026 5:09pm
pokeapi Building Building Preview, Comment Jul 22, 2026 5:09pm

Request Review

@CharanMN7
CharanMN7 merged commit 598c548 into main Jul 22, 2026
1 of 4 checks passed
@CharanMN7
CharanMN7 deleted the cursor/fix-secondary-top-nav branch July 22, 2026 17: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