-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update sticky header scroll behavior #236
Conversation
WalkthroughThe changes involve refactoring the Changes
Sequence Diagram(s)(No sequence diagrams generated as the changes are straightforward and do not involve complex interactions.) Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 3
🧹 Outside diff range and nitpick comments (1)
packages/frontendmu-nuxt/components/site/Menu.vue (1)
214-214
: Check browser support forbackdrop-filter
CSS propertyThe
backdrop-filter: brightness(1) blur(20px);
property may not be supported in all browsers, especially older ones. Consider providing a fallback or ensuring that this lack of support does not critically affect the user experience.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (1)
- packages/frontendmu-nuxt/components/site/Menu.vue (3 hunks)
🔇 Additional comments not posted (1)
packages/frontendmu-nuxt/components/site/Menu.vue (1)
146-150
: Confirm the existence of the/branding
routeThe
handleRightClick
function navigates to/branding
when the logo is right-clicked. Verify that the/branding
route exists and is correctly set up in your router configuration.Run the following script to confirm the route's existence:
Deploying frontend-mu-nuxt with Cloudflare Pages
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks awesome
I think this is a a nice improvement over the current header. When the user scrolls on the page, the header slowly goes away and when you scroll back up it re appears. Any suggestion is welcome.
Before:
screen-capture.1.webm
After:
screen-capture (2).webm
Summary by CodeRabbit
New Features
Bug Fixes
Refactor
currentPath
computed property.links
object for consistency.makeHeaderSticky
function with a newtoggleHeader
function.Style
.intersect
class.