Skip to content

Commit 82c03bf

Browse files
ketankauntiaapsinghdev
authored andcommitted
perf: optimize Hero animations following best practices
1 parent 9cf574e commit 82c03bf

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

  • apps/web/src/components/landing-sections

apps/web/src/components/landing-sections/Hero.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import { useAnalytics } from "@/hooks/useAnalytics";
99

1010
const Hero = () => {
1111
const { trackButtonClick } = useAnalytics();
12-
1312
// Container variants for staggered children animation
1413
const containerVariants = {
1514
hidden: { opacity: 0 },
@@ -38,7 +37,6 @@ const Hero = () => {
3837
const handleGetStartedClick = () => {
3938
trackButtonClick("Get Started", "hero");
4039
};
41-
4240
return (
4341
<div className="w-full min-h-[50dvh] lg:h-[69dvh] relative overflow-hidden z-10 p-4 lg:p-[60px] flex flex-col items-center justify-center gap-6 ">
4442
<Image

0 commit comments

Comments
 (0)