This PR implements a layout where the main content or surrounding interface of the website remains static, while the content section within each icon allows users to scroll up and down. The side navigation bar or navbar icon remains highlighted as users scroll within the content sections. Additionally, the mobile view is adjusted to ensure that the highlight is removed when scrolling down and is restored when scrolling up, preventing users from getting lost.
Changes proposed
What were you told to do?
Implement a layout that keeps the main content static while allowing the content within each icon to be scrollable, and maintain the highlighted icon in the sidebar or navbar during scrolling.
What did you do?
Implemented a fixed layout for the main content, ensuring that the sidebar or navbar remains static.
Enabled smooth scrolling within the content sections under each icon, allowing users to navigate up and down without affecting the main content's position.
Added functionality to maintain the highlight on the corresponding icon in the sidebar or navbar during scrolling within the content sections.
Tested the implementation across different screen sizes and orientations to ensure the layout adapts correctly and maintains usability.
Description
Closes #1286
This PR implements a layout where the main content or surrounding interface of the website remains static, while the content section within each icon allows users to scroll up and down. The side navigation bar or navbar icon remains highlighted as users scroll within the content sections. Additionally, the mobile view is adjusted to ensure that the highlight is removed when scrolling down and is restored when scrolling up, preventing users from getting lost.
Changes proposed
What were you told to do?
Implement a layout that keeps the main content static while allowing the content within each icon to be scrollable, and maintain the highlighted icon in the sidebar or navbar during scrolling.
What did you do?
Check List (Check all the applicable boxes)
🚨Please review the contribution guideline for this repository.
Screenshots/Videos