From 53803e5263bd180dc8279cd803ff31c8e7444d0c Mon Sep 17 00:00:00 2001 From: Wayne Sutton Date: Sun, 21 Dec 2025 00:03:46 -0800 Subject: [PATCH] style(stats): remove highlighted accent from Blog Posts card Remove the teal highlight styling from the Blog Posts card on the Stats page so all stat cards have uniform appearance. This removes the highlighted property and associated conditional CSS classes. --- src/pages/Stats.tsx | 157 ++++++++++++++++++++++++-------------------- 1 file changed, 84 insertions(+), 73 deletions(-) diff --git a/src/pages/Stats.tsx b/src/pages/Stats.tsx index 88672ce..6ec0b04 100644 --- a/src/pages/Stats.tsx +++ b/src/pages/Stats.tsx @@ -8,6 +8,8 @@ import { FileText, BookOpen, Activity, + TrendingUp, + Code, } from "lucide-react"; // Site launched Dec 14, 2025 at 1:00 PM (v1.0.0), stats added same day (v1.2.0) @@ -38,10 +40,50 @@ export default function Stats() { return null; } + // Stats card configuration with numbered sections + const statsCards = [ + { + number: "01", + icon: Activity, + title: "Active Now", + value: stats.activeVisitors, + description: "Visitors on site", + }, + { + number: "02", + icon: Eye, + title: "Total Views", + value: stats.totalPageViews, + description: `Since ${formatTrackingDate(stats.trackingSince)}`, + note: `Site launched ${SITE_LAUNCH_DATE}`, + }, + { + number: "03", + icon: Users, + title: "Unique Visitors", + value: stats.uniqueVisitors, + description: "Unique sessions", + }, + { + number: "04", + icon: BookOpen, + title: "Blog Posts", + value: stats.publishedPosts, + description: "Published posts", + }, + { + number: "05", + icon: FileText, + title: "Pages", + value: stats.publishedPages, + description: "Static pages", + }, + ]; + return ( -
+
{/* Header with back button */} -