mirror of
https://github.com/R0m1k3/CollectFlow.git
synced 2026-10-11 17:26:32 +02:00
feat: Add dashboard page displaying network KPIs and store statistics, along with a new PostgreSQL data client.
This commit is contained in:
1 parent
a705d0043d
commit
46c799bd60
2 files changed
+10
-2
No files matched your search
@@ -106,6 +106,7 @@ function NetworkKpiCard({
|
||||
padding: "1.5rem",
|
||||
position: "relative",
|
||||
overflow: "hidden",
|
||||
boxShadow: "0 4px 24px rgba(0,0,0,0.18), 0 1px 4px rgba(0,0,0,0.12)",
|
||||
}}
|
||||
>
|
||||
{/* Decorative glow */}
|
||||
@@ -204,6 +205,7 @@ function StoreCard({ site, dateHier, dateN1 }: { site: DashboardSiteStats; dateH
|
||||
border: "1px solid var(--border)",
|
||||
overflow: "hidden",
|
||||
position: "relative",
|
||||
boxShadow: "0 4px 24px rgba(0,0,0,0.18), 0 1px 4px rgba(0,0,0,0.12)",
|
||||
}}
|
||||
>
|
||||
{/* Top accent bar */}
|
||||
@@ -363,6 +365,7 @@ function Top10Table({ title, items, sortKey, accent }: {
|
||||
overflow: "hidden",
|
||||
flex: 1,
|
||||
minWidth: 0,
|
||||
boxShadow: `0 4px 24px rgba(0,0,0,0.18), 0 0 0 0px ${accent.bar}`,
|
||||
}}
|
||||
>
|
||||
{/* Table header */}
|
||||
@@ -604,6 +607,7 @@ export default async function DashboardPage() {
|
||||
padding: "1.5rem 2rem",
|
||||
position: "relative",
|
||||
overflow: "hidden",
|
||||
boxShadow: "0 4px 24px rgba(0,0,0,0.18), 0 1px 4px rgba(0,0,0,0.12)",
|
||||
}}
|
||||
>
|
||||
{/* subtle background pattern */}
|
||||
|
||||
Reference in new issue
Block a user