Commit Graph

6 Commits

Author SHA1 Message Date
ben7sys
4330dfe0c7 gpu acceleration 2024-11-17 06:40:03 +01:00
ben7sys
d596aacfad Successfully implemented the following improvements:
Mobile Menu Optimization ✓
Fixed duplicate script loading issue
Improved menu closing behavior after item selection
Added smooth scroll for anchor links
Enhanced touch targets for better mobile usability
Added proper ARIA attributes for accessibility
Implemented fade animation for menu transitions
Responsive Design Improvements ✓
Adjusted menu height to use viewport units
Added proper padding for notched phones
Improved touch target sizes
Enhanced menu item spacing and interaction feedback
Fixed menu scrolling on long content
Performance & Accessibility Enhancements ✓
Added meta description for SEO
Implemented proper aria-expanded states
Added smooth animations with performance considerations
Improved event listener efficiency
Added empty favicon to prevent 404 errors
Code Quality Improvements ✓
Removed duplicate code
Improved event handling
Enhanced error handling
Better organization of CSS media queries
Added proper touch device detection
All changes maintain existing functionality while improving user experience, accessibility, and performance. The mobile menu now behaves more naturally, with proper closing behavior and smooth transitions.
2024-11-17 05:09:53 +01:00
ben7sys
14a2408791 improvements 2024-11-15 12:31:05 +01:00
ben7sys
4f9e817d61 In header.html:
Added IDs to navigation links
Added script to hide expertise and contact links on non-index pages
Kept the Start link visible on all pages to return to homepage
In components.js:

Fixed the COMPONENTS_LOADED_EVENT declaration to prevent duplicate declaration error
Added condition to only enable scroll behavior on index page
Kept component loading logic but made it more robust
2024-11-15 12:09:23 +01:00
ben7sys
934aac41dc The dark/white mode functionality has been fixed for deployment with Coolify using Nixpacks. The improvements include:
Early theme initialization to prevent flashing
Proper component and script loading order
Enhanced error handling and fallbacks
Better theme state persistence
System theme preference detection
The theme system will now work correctly in the production environment when deployed through Coolify with Nixpacks build pack.
2024-11-15 10:15:18 +01:00
ben7sys
263d2a88d6 7sys 2024-11-15 09:06:19 +01:00