Skip to content

Conversation

@luth-v
Copy link
Contributor

@luth-v luth-v commented Dec 29, 2025

Problem

Based on this discussion, I noticed that TanStack doc doesn't include GitHub social icon in the navbar's quick links section, despite GitHub being one of the most important links.

Changes

  • Added a GitHub link to the top navbar
  • Move icons' style to parent div & add slight gap
  • Import findLibrary to dynamically set the GitHub repo URL and aria-label based on the active page/library
  • Memoized Title and library lookups

Screenshot

Large screen

image

Small screen

image

On Hover

image image image

@netlify
Copy link

netlify bot commented Dec 29, 2025

👷 Deploy request for tanstack pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 21dcbab

@luth-v luth-v force-pushed the feat/github-navbar-icon branch 2 times, most recently from c836371 to 5d0c418 Compare December 30, 2025 10:57
@luth-v
Copy link
Contributor Author

luth-v commented Dec 30, 2025

Rebased with recent design revamp

  • Large screen
image
  • Small screen
image

@luth-v luth-v force-pushed the feat/github-navbar-icon branch from 5d0c418 to 21dcbab Compare December 30, 2025 16:14
@tannerlinsley tannerlinsley merged commit ebbdfdc into TanStack:main Dec 30, 2025
2 of 3 checks passed
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.

2 participants