From db4d7f6cde742057a4001c0a35e0005e47649810 Mon Sep 17 00:00:00 2001 From: Usman Baig Date: Thu, 5 Feb 2026 17:43:17 +0100 Subject: [PATCH] Phase 4: Additional fixes --- app/sites/[id]/page.tsx | 7 +++++-- app/sites/[id]/realtime/page.tsx | 2 +- components/dashboard/ContentStats.tsx | 14 +++++++++++--- 3 files changed, 17 insertions(+), 6 deletions(-) diff --git a/app/sites/[id]/page.tsx b/app/sites/[id]/page.tsx index 176b669..c10d051 100644 --- a/app/sites/[id]/page.tsx +++ b/app/sites/[id]/page.tsx @@ -239,7 +239,10 @@ export default function SiteDashboardPage() { {/* Realtime Indicator */} -
+
+
diff --git a/app/sites/[id]/realtime/page.tsx b/app/sites/[id]/realtime/page.tsx index 6285740..671986b 100644 --- a/app/sites/[id]/realtime/page.tsx +++ b/app/sites/[id]/realtime/page.tsx @@ -93,7 +93,7 @@ export default function RealtimePage() { if (!site) return
Site not found
return ( -
+
diff --git a/components/dashboard/ContentStats.tsx b/components/dashboard/ContentStats.tsx index ad8c4f1..d21e3fe 100644 --- a/components/dashboard/ContentStats.tsx +++ b/components/dashboard/ContentStats.tsx @@ -3,7 +3,7 @@ import { useState, useEffect } from 'react' import { formatNumber } from '@/lib/utils/format' import { TopPage, getTopPages, getEntryPages, getExitPages } from '@/lib/api/stats' -import { Modal, ArrowUpRightIcon } from '@ciphera-net/ui' +import { Modal, ArrowUpRightIcon, LayoutDashboardIcon } from '@ciphera-net/ui' interface ContentStatsProps { topPages: TopPage[] @@ -149,8 +149,16 @@ export default function ContentStats({ topPages, entryPages, exitPages, domain, ))} ) : ( -
-

No data available

+
+
+ +
+

+ No page data yet +

+

+ Your most visited pages will appear here as traffic arrives. +

)}