Commit 64f4276
committed
refactor: clean up animations and simplify logic in BackgroundAnimation & AnimatedSection
- Removed unused and redundant code in BackgroundAnimation
- Consolidated logic, reduced Rust code blocks from 12 to 8 for better perf
- Renamed variables for clarity and standardized formatting
- In animatedsection.tsx:
- Removed unnecessary state, refs, and complex timeout/animation tracking
- Simplified cleanup logic using a single array
- Consolidated duplicate selectors and removed redundant checks
- Removed over-engineered scroll and animation queuing logic
- chore: upgraded TailwindCSS from v3 to v4 for latest features and future-proofing1 parent 1f0b0e1 commit 64f4276
2 files changed
Lines changed: 458 additions & 779 deletions
0 commit comments