Feat: Enhance navbarwith glassmorphism and premium micro-interactions - #1243
Feat: Enhance navbarwith glassmorphism and premium micro-interactions#1243Sree-8639 wants to merge 1 commit into
Conversation
|
@Sree-143 is attempting to deploy a commit to the shashankss1205's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
The failing CI checks appear unrelated to this navbar change. Build failure:
E2E failure:
No backend/parser/test configuration files were modified in this PR. |
|
The failing CI checks appear unrelated to this navbar change. Build failure: tests/integration/test_parser_goldens.py tests/e2e/test_user_journeys.py |
2 similar comments
|
The failing CI checks appear unrelated to this navbar change. Build failure: tests/integration/test_parser_goldens.py tests/e2e/test_user_journeys.py |
|
The failing CI checks appear unrelated to this navbar change. Build failure: tests/integration/test_parser_goldens.py tests/e2e/test_user_journeys.py |
|
👋 Thanks for contributing to CodeGraphContext! Since this PR was opened, |
|
Triage update: the navbar has changed on main since this branch (scroll-spy active states and a scroll progress indicator landed), so this conflicts throughout. @Sree-8639 if you'd like to pursue the glassmorphism treatment, please rebase onto current main and attach before/after screenshots so we can make the design call quickly. 🙏 |
|
Keeping this open, with one thing to fix first. The lock file is in the diff. Please check whether you meant to change dependencies at all. If not: git checkout origin/main -- website/package-lock.json website/package.jsonIf you did add a dependency deliberately, say which and why in the description — a new runtime dependency on the marketing site is worth a sentence. The rest of the change is reviewable once that's out of the way. |
Shashankss1205
left a comment
There was a problem hiding this comment.
Thanks for this — the glassmorphism treatment itself looks good, but main's Navbar has moved substantially since you opened this (2026-06-14) and the two versions now conflict in ways I can't resolve for you without throwing away work on one side.
Concretely, main now has three things this branch would revert:
- Scroll-spy via
IntersectionObserver(Navbar.tsx:62-85) replacing the older scroll-listener approach. Your branch'sactiveAnchorscroll listener is the older design. - A scroll-progress indicator strip under the navbar (
Navbar.tsx:109-115) — a gradient bar tracking page scroll. Your branch predates it and would remove it. - A data-driven link list (
Navbar.tsx:188-231) that includes a new "Understand" route link (/understand). Your branch has the five anchors hardcoded, so merging as-is would drop that nav entry entirely.
The part of your PR that's still uniquely valuable is the visual layer — the gradient background, backdropFilter: blur(10px), the scrolled-state background shift, and the animated underline that grows on hover.
Could you rebase onto current main and reapply just that styling on top of the existing structure? That means:
- keep
main'sIntersectionObservereffect,scrollProgressstrip and the[{label, href}]array as-is, - add your
isScrolledstate and the<style>block /backdropFilterto the<nav>, - swap the active-underline span for your gradient version.
That should be a much smaller diff than the current +648/-743 and it'll go in quickly.
Heads up that #1189 tracks the same glassmorphism idea — I've pointed that issue at this PR so the effort doesn't get duplicated. Ping me here if you'd like a hand with the rebase.
🎨 Navbar Enhancement with Glassmorphism & Premium Micro-Interactions
Resolves #1189
✨ Changes Made
1. Glassmorphism Navbar Background
backdrop-filter: blur(10px)2. Improved Active Link Highlighting
useEffecthook3. Smooth Hover & Transition Effects
hover:scale-105with glow effect4. Enhanced Button Styling
5. Navbar Entrance Animation
6. Responsive Improvements
📁 Files Modified
website/src/components/Navbar.tsx🔍 Implementation Details
useEffecthook for scroll listeneractiveAnchor,isScrolled✅ Verification
🚀 Testing Recommended
Resolves: #1189
Type: Feature/Enhancement
Impact: Visual/UX improvement only, no breaking changes