Skip to content

Conversation

Zephinax
Copy link
Contributor

This PR introduces a new boolean prop isFixed to the StaggeredMenu component, allowing to pin the header (logo and toggle button) to the top of the viewport using position: fixed. This enhances usability by keeping navigation controls accessible during page scrolling, without affecting the existing GSAP animations or menu slide-in behavior.

Key Changes

  • New Prop: Added isFixed?: boolean to StaggeredMenuProps with a default value of false.
  • change the default menu color behavior (The menu was not visible when open due to the white text color).
  • No Breaking Changes: Existing functionality (menu open/close animations, color transitions, text cycling) remains intact. The prop is optional and backward-compatible.

@DavidHDev
Copy link
Owner

Please read CONTRIBUTING.md

Any change to a component should be reflected in all 4 variants. Your PR only modifies the TS variants.

@Zephinax
Copy link
Contributor Author

I apologize for the inconvenience caused, and I hope the recent changes are aligned with your goals

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