diff --git a/src/components/Hero.tsx b/src/components/Hero.tsx index 9833a50..9a6117a 100644 --- a/src/components/Hero.tsx +++ b/src/components/Hero.tsx @@ -5,38 +5,45 @@ const MATRIX_CELLS = Array.from({ length: 21 }, (_, i) => i); const Hero = () => { return ( -
-
-
-
-
- -
-
-
-
- - GitHub activity, refined -
- -
-

- Track GitHub Activity - - In Real Time - -

-
- -

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

+ + {/* Background Grid */} +
+ + {/* Glow Effects */} +
+
+ +
+ +
+ + {/* LEFT SIDE */} +
+ +

+ 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.

-
- - - - Start Tracking +
+ + + + + Start Tracking + @@ -61,58 +68,70 @@ const Hero = () => {
-
-
-
-
- - Dashboard Insights + {/* RIGHT SIDE */} +
+ + {/* Dashboard Card */} +
+ + {/* Header */} +
+
+ + + Dashboard Insights +
-
- - - + +
+ + +
-
-
-
-
Weekly Commits
-
- 176 +12% -
-
-
-
+ {/* Stats */} +
+ +
+
+ Weekly Commits
-
-
-
Active Repos
-
24
-
-
- - Updating now -
+
+ 176 + + +12% + +
+ +
+
-
-
Contribution Matrix
-
- {MATRIX_CELLS.map((cellIndex) => { - 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']; + {/* Contribution Grid */} +
+
+ Contribution Matrix +
- const lightClass = intensitiesLight[cellIndex % intensitiesLight.length]; - const darkClass = intensitiesDark[cellIndex % intensitiesDark.length]; +
+ {MATRIX_CELLS.map((cellIndex) => { + const intensities = [ + 'bg-slate-200 dark:bg-slate-800', + 'bg-emerald-200 dark:bg-emerald-900/60', + 'bg-emerald-300 dark:bg-emerald-700', + 'bg-emerald-500', + 'bg-emerald-600', + ]; return (
); })} @@ -136,28 +155,24 @@ const Hero = () => {
-
- + {/* Floating Icons */} +
+
- +
- +
- -