From f5af201eabdc82e958caba3645e5f7d56dab49a4 Mon Sep 17 00:00:00 2001 From: arpit2006 Date: Fri, 22 May 2026 19:47:26 +0530 Subject: [PATCH 1/4] chore(hero): tighten spacing and shorten copy --- src/components/Hero.tsx | 181 ++++++++++++++++++++++++---------------- 1 file changed, 110 insertions(+), 71 deletions(-) diff --git a/src/components/Hero.tsx b/src/components/Hero.tsx index a606d777..dacdd8e9 100644 --- a/src/components/Hero.tsx +++ b/src/components/Hero.tsx @@ -1,125 +1,164 @@ import { Search, GitBranch, GitCommit, GitPullRequest, Layout } from 'lucide-react'; import { Link } from 'react-router-dom'; -// Fixed array declaration for data structure rendering stability const MATRIX_CELLS = Array.from({ length: 21 }, (_, i) => i); const Hero = () => { return ( -
- - {/* 1. Cyber Grid Overlay */} -
- - {/* Ambient Radial Glow Elements */} -
-
- -
-
- - {/* LEFT COLUMN: Typography & CTA */} -
-

- Track GitHub Activity - - Like Never Before - -

- -

- Monitor and analyze GitHub user activity with powerful insights. Perfect for developers, - project managers, and teams who want to understand contribution patterns and repository engagement. +

+
+
+
+
+ +
+
+
+
+ + GitHub activity, refined +
+ +
+

+ Track GitHub Activity + + In Real Time + +

+
+ +

+ Track, compare, and review GitHub activity at a glance.

-
- {/* Interactive Primary Link Button */} - - - - Start Tracking +
+ + + + Start Tracking + + + Explore Features + +
+ +
+
+
Public API
+
Fast setup
+
+
+
Multi-user
+
Compare activity
+
+
+
Live insights
+
Track trends
+
- {/* RIGHT COLUMN: Dashboard & Floating Git Elements */} -
- - {/* The Main Dashboard Mockup Card */} -
-
+
+
+
- + Dashboard Insights
- - - + + +
- {/* Mockup Data widgets */} -
-
-
Weekly Commits
-
176 +12%
-
-
+
+
+
+
Weekly Commits
+
+ 176 +12% +
+
+
+
+
+ +
+
+
Active Repos
+
24
+
+
+ + Updating now +
- {/* Simulated GitHub Contribution Grid */} -
-
Contribution Matrix
-
+
+
Contribution Matrix
+
{MATRIX_CELLS.map((cellIndex) => { - // Fully qualified class names to ensure they aren't removed by Tailwind's compilation process const intensitiesLight = ['bg-slate-200', 'bg-emerald-200', 'bg-emerald-300', 'bg-emerald-500', 'bg-emerald-600']; const intensitiesDark = ['dark:bg-slate-800', 'dark:bg-emerald-900/60', 'dark:bg-emerald-700', 'dark:bg-emerald-500', 'dark:bg-emerald-400']; - + const lightClass = intensitiesLight[cellIndex % intensitiesLight.length]; const darkClass = intensitiesDark[cellIndex % intensitiesDark.length]; - + return ( -
); })}
+ +
+
+
8.4k
+
Views
+
+
+
92%
+
Trend
+
+
+
38
+
PRs
+
+
- {/* Floating Git Icon Nodes using native inline styles for correct staggered delays */} -
- +
-
- +
-
- +
- {/* Subtle Neon Center Glow */} -
+
-
From 8fd366cb9204b7b91312ae07134d0bac797c723e Mon Sep 17 00:00:00 2001 From: arpit2006 Date: Fri, 22 May 2026 19:47:27 +0530 Subject: [PATCH 2/4] chore(hero): tighten spacing and shorten copy From 7081acba041b266368864afe4cc817d9a008f2e8 Mon Sep 17 00:00:00 2001 From: arpit2006 Date: Fri, 22 May 2026 19:58:35 +0530 Subject: [PATCH 3/4] chore(hero): add motion-reduce fallbacks for pulse/bounce animations --- src/components/Hero.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/Hero.tsx b/src/components/Hero.tsx index dacdd8e9..9833a509 100644 --- a/src/components/Hero.tsx +++ b/src/components/Hero.tsx @@ -83,7 +83,7 @@ const Hero = () => { 176 +12%
-
+
@@ -93,7 +93,7 @@ const Hero = () => {
24
- + Updating now
@@ -138,21 +138,21 @@ const Hero = () => {
From f3f17beee47f3e0cc56cfa3b891c69b574b208a6 Mon Sep 17 00:00:00 2001 From: arpit2006 Date: Fri, 22 May 2026 19:58:35 +0530 Subject: [PATCH 4/4] chore(hero): add motion-reduce fallbacks for pulse/bounce animations