ccsync icon indicating copy to clipboard operation
ccsync copied to clipboard

Hero Section - Dashboard frontend revamp

Open its-me-abhishek opened this issue 10 months ago • 3 comments

Is your feature request related to a problem? Please describe. We currently render Hero section animations (e.g., the color-shifting “ball of light”) using custom CSS animations, while the rest of the app already relies on Framer Motion for animations. This CSS can lead to bigger build size chunks, which is not ideal, and we should (iteratively in other issues) remove most centralized CSS, in order to optimise Docker images' build size and time.

Describe the solution you'd like Replace the existing CSS-based Hero animations with Framer Motion equivalents. Since Framer Motion is already a dependency, creating animations under it would improve consistency, simplify animation logic, and reduce custom CSS complexity. This will also align better with our existing animation patterns and tooling.

Describe alternatives you've considered

  • Keeping the current CSS animations as-is
  • Refactoring the CSS animations for better structure and reusability However, both alternatives still leave us with two animation systems in parallel, which doesn’t scale well long term

Additional context

  • Framer Motion is already used across the app, so this does not introduce a new dependency
  • Moving animations to JS-driven motion components can improve debuggability and readability
  • Reducing custom CSS may slightly help keep frontend Docker images smaller and easier to maintain

its-me-abhishek avatar Feb 04 '26 12:02 its-me-abhishek

hey @its-me-abhishek , I want to pick this issue and would open a PR with the solution, can you please assign this to me

Hell1213 avatar Feb 04 '26 13:02 Hell1213

Sure @Hell1213 feel free to work on this

its-me-abhishek avatar Feb 04 '26 13:02 its-me-abhishek

@its-me-abhishek I am raising a PR to address this issue

HarshRaj29004 avatar Feb 05 '26 17:02 HarshRaj29004