From 33cd8de40758a378c515c953e351e329f8ef09b9 Mon Sep 17 00:00:00 2001 From: samanyugoyal2010 Date: Sat, 10 Oct 2026 16:51:54 -0700 Subject: [PATCH 01/10] Remove decorative animation loops and stabilise initial content --- src/app/globals.css | 19 +- src/components/HeroSection.tsx | 4 - src/components/KoalaEasterEggs.tsx | 255 ------------- src/components/PromptsMarquee.tsx | 10 +- src/components/ProofPointStrip.tsx | 35 +- src/components/QuoteSection.tsx | 8 +- src/components/Reveal.tsx | 42 +-- src/components/reactbits/BlurText.tsx | 117 +----- src/components/reactbits/CountUp.tsx | 93 +---- src/components/reactbits/CurvedLoop.tsx | 155 +------- src/components/reactbits/DotGrid.tsx | 207 ---------- src/components/reactbits/Magnet.tsx | 79 +--- .../reactbits/ScrollExpandVideo.tsx | 163 +------- src/components/reactbits/ScrollReveal.tsx | 97 +---- src/components/reactbits/SpotlightCard.tsx | 355 ------------------ src/lib/spotlight.ts | 12 - 16 files changed, 71 insertions(+), 1580 deletions(-) delete mode 100644 src/components/KoalaEasterEggs.tsx delete mode 100644 src/components/reactbits/DotGrid.tsx delete mode 100644 src/components/reactbits/SpotlightCard.tsx delete mode 100644 src/lib/spotlight.ts diff --git a/src/app/globals.css b/src/app/globals.css index 726f7569..fdc11be8 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -897,14 +897,14 @@ height: 5px; border-radius: 9999px; background: var(--home-fern); - animation: home-chip-pulse 3.2s ease-out infinite; + animation: none; } .home-live-dot { width: 7px; height: 7px; border-radius: 9999px; background: var(--home-fern); - animation: home-chip-pulse 2s ease-out infinite; + animation: none; } @keyframes home-chip-pulse { 0% { @@ -919,10 +919,10 @@ } .home-flow-dash { stroke-dasharray: 3 5; - animation: home-flow 1.4s linear infinite; + animation: none; } .home-blink { - animation: home-blink 1.1s steps(1) infinite; + animation: none; } @keyframes home-blink { 50% { @@ -930,8 +930,7 @@ } } .cwp-cycle { - opacity: 0; - animation: cwp-cycle 9s ease-in-out infinite; + opacity: 1; } @keyframes cwp-cycle { 0%, @@ -951,7 +950,7 @@ } } .cwp-pulse { - animation: home-chip-pulse 2.6s ease-out infinite; + animation: none; } .cwp-hero-bg { background-image: radial-gradient(40rem 22rem at 88% -10%, rgba(219, 239, 219, 0.6), transparent 70%), @@ -962,7 +961,7 @@ pointer-events: none; } .cwp-spin { - animation: cwp-spin 20s linear infinite; + animation: none; } @keyframes cwp-spin { to { @@ -975,7 +974,7 @@ } } .home-orbit { - animation: home-orbit 30s linear infinite; + animation: none; transform-origin: 100px 100px; } @keyframes home-orbit { @@ -984,7 +983,7 @@ } } .home-node { - animation: home-node-fill 7.2s linear infinite; + animation: none; } @keyframes home-node-fill { 0%, diff --git a/src/components/HeroSection.tsx b/src/components/HeroSection.tsx index aeaa0b1e..d766a450 100644 --- a/src/components/HeroSection.tsx +++ b/src/components/HeroSection.tsx @@ -6,7 +6,6 @@ import { KodaGreeting } from "@/components/KodaGreeting"; import BlurText from "@/components/reactbits/BlurText"; import CountUp from "@/components/reactbits/CountUp"; import Magnet from "@/components/reactbits/Magnet"; -import DotGrid from "@/components/reactbits/DotGrid"; import { IMPACT_STATS } from "@/lib/stats"; @@ -22,10 +21,7 @@ export function HeroSection() { /* overflow-x-clip: the stats marquee track is wider than the viewport by design; clip here so a transform never widens the page on phones. */
- {/* The dot field reacts to the pointer anywhere over the hero copy; it - listens on this wrapper, and the copy sits above it. */}
-