From 0c2398a67551c4beca84a9cd78ee277c1f519e7d Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Mon, 20 Apr 2026 09:29:37 +0000 Subject: [PATCH 1/3] Bob AI: Implement complex animation effects for all buttons on the p --- src/App.tsx | 9 +++++++++ src/hooks/useButtonClick.ts | 27 +++++++++++++++++++++++++++ src/index.css | 20 ++++++++++++++++++++ src/styles/animations.css | 22 ++++++++++++++++++++++ 4 files changed, 78 insertions(+) diff --git a/src/App.tsx b/src/App.tsx index abcdc21..1f8b0e3 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -8,8 +8,17 @@ import MetricsSimpleCards from '@/components/sections/metrics/MetricsSimpleCards import NavbarCentered from '@/components/ui/NavbarCentered'; import TestimonialRatingCards from '@/components/sections/testimonial/TestimonialRatingCards'; import { Droplets, Flame, Wrench } from "lucide-react"; +import { useEffect } from "react"; +import { applyRippleEffect } from "@/hooks/useButtonClick"; export default function App() { + useEffect(() => { + const buttons = document.querySelectorAll("button"); + buttons.forEach((button) => { + applyRippleEffect(button); + }); + }, []); + return ( <> - {testimonials.map((testimonial) => ( + {testimonials.map((testimonial, index) => (
@@ -73,8 +74,9 @@ const TestimonialRatingCards = ({
-
+
+ {index === 0 && }
{testimonial.name} -- 2.49.1