From 068943974ee94fbff31d32decd9bdf3a4a28d625 Mon Sep 17 00:00:00 2001 From: Usman Baig Date: Fri, 6 Mar 2026 23:38:46 +0100 Subject: [PATCH] style: replace View All buttons with expand icon, switch to underline tabs - Replace "View All" text buttons with a subtle expand/fullscreen icon across all 5 dashboard panels - Convert pill-style tab switchers to underline tabs with brand-orange active indicator in Content, Locations, and Technology panels --- components/dashboard/Campaigns.tsx | 12 +++++++----- components/dashboard/ContentStats.tsx | 15 +++++++++------ components/dashboard/Locations.tsx | 15 +++++++++------ components/dashboard/TechSpecs.tsx | 15 +++++++++------ components/dashboard/TopReferrers.tsx | 7 +++++-- 5 files changed, 39 insertions(+), 25 deletions(-) diff --git a/components/dashboard/Campaigns.tsx b/components/dashboard/Campaigns.tsx index f8f49ab..f0eae00 100644 --- a/components/dashboard/Campaigns.tsx +++ b/components/dashboard/Campaigns.tsx @@ -192,13 +192,15 @@ export default function Campaigns({ siteId, dateRange, filters }: CampaignsProps Build URL {showViewAll && ( - + + + + )} diff --git a/components/dashboard/ContentStats.tsx b/components/dashboard/ContentStats.tsx index 4339bd0..c4129ad 100644 --- a/components/dashboard/ContentStats.tsx +++ b/components/dashboard/ContentStats.tsx @@ -103,23 +103,26 @@ export default function ContentStats({ topPages, entryPages, exitPages, domain, {showViewAll && ( )} -
+
{(['top_pages', 'entry_pages', 'exit_pages'] as Tab[]).map((tab) => ( )}
-
+
{(['map', 'countries', 'regions', 'cities'] as Tab[]).map((tab) => ( )}
-
+
{(['browsers', 'os', 'devices', 'screens'] as Tab[]).map((tab) => ( )}