From 0645375e8dd7d1ca93e2ff48204d871a0d1b4ff8 Mon Sep 17 00:00:00 2001 From: Matt Date: Sat, 28 Dec 2024 22:34:57 -0500 Subject: [PATCH] Responsive layout adjustments --- dashboard/src/App.jsx | 12 ++++++------ .../components/dashboard/AnalyticsDashboard.jsx | 14 +++++++++----- dashboard/src/components/dashboard/Navigation.jsx | 3 +++ .../src/components/dashboard/RealtimeAnalytics.jsx | 2 +- 4 files changed, 19 insertions(+), 12 deletions(-) diff --git a/dashboard/src/App.jsx b/dashboard/src/App.jsx index 3bd4141..3de766f 100644 --- a/dashboard/src/App.jsx +++ b/dashboard/src/App.jsx @@ -101,8 +101,8 @@ const DashboardLayout = () => { -
-
+
+
@@ -116,18 +116,18 @@ const DashboardLayout = () => {
-
+
-
+
-
+
-
+
diff --git a/dashboard/src/components/dashboard/AnalyticsDashboard.jsx b/dashboard/src/components/dashboard/AnalyticsDashboard.jsx index ef86fcb..5399da6 100644 --- a/dashboard/src/components/dashboard/AnalyticsDashboard.jsx +++ b/dashboard/src/components/dashboard/AnalyticsDashboard.jsx @@ -316,7 +316,7 @@ export const AnalyticsDashboard = () => {
) : null} -
+
diff --git a/dashboard/src/components/dashboard/Navigation.jsx b/dashboard/src/components/dashboard/Navigation.jsx index f9cfe34..011e232 100644 --- a/dashboard/src/components/dashboard/Navigation.jsx +++ b/dashboard/src/components/dashboard/Navigation.jsx @@ -24,9 +24,12 @@ const Navigation = () => { label: "Event Feed", responsiveIds: ["feed-xl", "feed-lg"], }, + { id: "realtime", label: "Realtime" }, { id: "products", label: "Top Products" }, { id: "sales", label: "Sales Chart" }, { id: "campaigns", label: "Campaigns" }, + { id: "analytics", label: "Analytics" }, + { id: "user-behavior", label: "User Behavior" }, { id: "meta-campaigns", label: "Meta Ads" }, { id: "gorgias-overview", label: "Customer Service" }, { id: "calls", label: "Calls" }, diff --git a/dashboard/src/components/dashboard/RealtimeAnalytics.jsx b/dashboard/src/components/dashboard/RealtimeAnalytics.jsx index c9d2d08..b366238 100644 --- a/dashboard/src/components/dashboard/RealtimeAnalytics.jsx +++ b/dashboard/src/components/dashboard/RealtimeAnalytics.jsx @@ -394,7 +394,7 @@ export const RealtimeAnalytics = () => { )} -
+
{summaryCard( "Last 30 minutes", "Active users",