Skip to content
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

Enhance Navigation Bar UI/UX for Desktop and Mobile Views #284

Merged
merged 5 commits into from
Mar 15, 2025

Conversation

AryanVBW
Copy link
Contributor

This pull request includes changes to the Docusaurus configuration and custom CSS to enhance the navbar's functionality and appearance. The most important changes include adding a new feature to hide the navbar on scroll and extensive styling updates to the navbar and dropdown menus.

Enhancements to navbar functionality:

  • docusaurus.config.js: Added hideOnScroll property to the navbar configuration to hide the navbar when scrolling.

Styling updates:

  • src/css/custom.css: Added extensive styling for the navbar, including box-shadow, transition effects, and hover states for various navbar elements. This includes styles for the navbar logo, brand, links, dropdown menus, and mobile navbar.

@PragmaTwice @git-hulk

AryanVBW and others added 5 commits March 12, 2025 13:03
This commit addresses two logo visibility issues:
1. User logos are now displayed on a white background in dark theme
   to provide proper contrast
2. Feature icons on the homepage (particularly namespace logo) now
   have a subtle drop shadow to improve visibility against light
   backgrounds
Improve the website's navigation bar with modern styling and better responsiveness
@AryanVBW
Copy link
Contributor Author

Are these assets, like images, not loading? I think it might be because Apache has enforced a stricter Content Security Policy (CSP), which is blocking the retrieval of assets from external servers as per this policy: Apache Website Policy. Am I correct?

local global @PragmaTwice @git-hulk

@PragmaTwice PragmaTwice merged commit 103de34 into apache:main Mar 15, 2025
1 check passed
@AryanVBW
Copy link
Contributor Author

?

@PragmaTwice
Copy link
Member

Are these assets, like images, not loading? I think it might be because Apache has enforced a stricter Content Security Policy (CSP), which is blocking the retrieval of assets from external servers as per this policy: Apache Website Policy. Am I correct?

@PragmaTwice @git-hulk

Yeah I've also observed that. Not sure if we can contact with ASF infra to change the csp policy. Or we can cache them in our website.

@AryanVBW
Copy link
Contributor Author

Okay, sir. May I work on this? I have a solution in mind.

@PragmaTwice
Copy link
Member

Okay, sir. May I work on this? I have a solution in mind.

Of course! Thank you for your continued contribution.

@AryanVBW
Copy link
Contributor Author

Thank you for your appreciation, sir

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.

3 participants