diff --git a/components/dashboard/Campaigns.tsx b/components/dashboard/Campaigns.tsx index 1134501..5d6165c 100644 --- a/components/dashboard/Campaigns.tsx +++ b/components/dashboard/Campaigns.tsx @@ -124,26 +124,26 @@ export default function Campaigns({ siteId, dateRange, filters, onFilter }: Camp <>
+

+ Campaigns +

-

- Campaigns -

+ {showViewAll && ( )}
-
diff --git a/components/dashboard/ContentStats.tsx b/components/dashboard/ContentStats.tsx index 09486e6..f70785d 100644 --- a/components/dashboard/ContentStats.tsx +++ b/components/dashboard/ContentStats.tsx @@ -98,21 +98,11 @@ export default function ContentStats({ topPages, entryPages, exitPages, domain, <>
+

+ Pages +

-

- Pages -

- {showViewAll && ( - - )} -
-
+
{(['top_pages', 'entry_pages', 'exit_pages'] as Tab[]).map((tab) => (
+ {showViewAll && ( + + )}
diff --git a/components/dashboard/Locations.tsx b/components/dashboard/Locations.tsx index 8cff2cb..d7025d7 100644 --- a/components/dashboard/Locations.tsx +++ b/components/dashboard/Locations.tsx @@ -202,22 +202,12 @@ export default function Locations({ countries, cities, regions, geoDataLevel = ' <>
+

+ Locations +

-

- Locations -

- {showViewAll && ( - - )} -
-
- {(['map', 'globe', 'countries', 'regions', 'cities'] as Tab[]).map((tab) => ( +
+ {(['map', 'globe', 'countries', 'regions', 'cities'] as Tab[]).map((tab) => ( - ))} + ))} +
+ {showViewAll && ( + + )}
diff --git a/components/dashboard/TechSpecs.tsx b/components/dashboard/TechSpecs.tsx index caeb3ae..38573f9 100644 --- a/components/dashboard/TechSpecs.tsx +++ b/components/dashboard/TechSpecs.tsx @@ -128,22 +128,12 @@ export default function TechSpecs({ browsers, os, devices, screenResolutions, co <>
+

+ Technology +

-

- Technology -

- {showViewAll && ( - - )} -
-
- {(['browsers', 'os', 'devices', 'screens'] as Tab[]).map((tab) => ( +
+ {(['browsers', 'os', 'devices', 'screens'] as Tab[]).map((tab) => ( - ))} + ))} +
+ {showViewAll && ( + + )}
diff --git a/components/dashboard/TopReferrers.tsx b/components/dashboard/TopReferrers.tsx index 14d50a3..7a2785c 100644 --- a/components/dashboard/TopReferrers.tsx +++ b/components/dashboard/TopReferrers.tsx @@ -86,20 +86,18 @@ export default function TopReferrers({ referrers, collectReferrers = true, siteI <>
-
-

- Referrers -

- {showViewAll && ( - - )} -
+

+ Referrers +

+ {showViewAll && ( + + )}