Summary
Create a tracked set of CSS and JS improvements to improve maintainability, accessibility, performance, and structure across the site.
Checklist
CSS
JavaScript
Goal
- Improve maintainability
- Reduce CSS/JS duplication
- Improve accessibility
- Improve runtime performance
- Make future refactors easier
Summary
Create a tracked set of CSS and JS improvements to improve maintainability, accessibility, performance, and structure across the site.
Checklist
CSS
!importantin/home/runner/work/NextCommunity.github.io/NextCommunity.github.io/src/assets/css/style.css#dev-tools button[onclick*="..."]selectors with semantic classes ordata-*attributestransition: allrules with property-specific transitionsprefers-reduced-motionsupport for shimmer, shake, pulse, and glitch effects:focus-visiblestates for buttons, overlays, and custom controlsJavaScript
/home/runner/work/NextCommunity.github.io/NextCommunity.github.io/src/assets/js/script.jsinto smaller focused modulesonclickhandlers with event listeners or delegated events #648window.PROFILE_NAME,window.PROFILE_SKILLS, andwindow.PhaserlocalStoragehelper for safe parse, get, and set operationselement.style.*mutationsrequestAnimationFramefor drag, resize, and hover-heavy handlersgame-manager.jsGoal