Skip to content

Conversation

@Alik532UA
Copy link
Contributor

This pull request introduces several improvements to the user interface, user experience, and performance, primarily focused on mobile devices.

Key Changes:

  • Dark Mode: Added a <meta name="color-scheme" content="dark"> tag to ensure proper display on devices with a system-wide dark theme enabled.
  • Navbar: The mobile navigation bar now closes automatically when clicking outside of it, improving usability.
  • Carousel: Optimized the carousel animation for smoother performance on mobile devices.
  • Styling: Centered elements within the mobile sidebar for better visual alignment.
  • Docs: Corrected minor grammar and spelling issues.

- Updated padding in _sass/base.scss for a better look.
…layout.

This prevents mobile browsers from automatically applying their own dark theme, ensuring a consistent site appearance and fixing display issues on devices with a system-wide dark theme.
Added a click event listener to the main content area. When the mobile navigation is open, clicking on the main content will now close the navigation drawer.
Refactored the checkPos function that calculates the 3D scroll effect. The new implementation filters out off-screen elements and only performs expensive calculations (like getBoundingClientRect) for visible items. This drastically reduces CPU load during scrolling, fixing performance issues and janky animations on mobile devices while preserving the real-time visual effect.
@galulex galulex merged commit 044c59a into activebridge:main Oct 20, 2025
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