feat: implement dashboard page with network-wide and site-specific KPIs, and top 10 items display.

This commit is contained in:
Michael committed 2026-03-21 19:36:02 +01:00
1 parent f24da605af
commit 33deb033b5
1 file changed
+3
+3
View File
@@ -258,9 +258,12 @@ function StoreCard({ site, dateHier, dateN1 }: { site: DashboardSiteStats; dateH
Chiffre d'affaires Chiffre d'affaires
</span> </span>
</div> </div>
<div className="flex items-baseline gap-2">
<div style={{ fontSize: "1.35rem", fontWeight: 800, color: "var(--text-primary)", letterSpacing: "-0.02em", lineHeight: 1 }}> <div style={{ fontSize: "1.35rem", fontWeight: 800, color: "var(--text-primary)", letterSpacing: "-0.02em", lineHeight: 1 }}>
{fmtEur(site.ca_hier)} {fmtEur(site.ca_hier)}
</div> </div>
<DeltaBadge pct={dCa} large />
</div>
<div className="flex items-center gap-1.5"> <div className="flex items-center gap-1.5">
<span style={{ fontSize: "0.7rem", color: "var(--text-muted)" }}>N-1 :</span> <span style={{ fontSize: "0.7rem", color: "var(--text-muted)" }}>N-1 :</span>
<span style={{ fontSize: "0.75rem", fontWeight: 600, color: "var(--text-muted)" }}> <span style={{ fontSize: "0.75rem", fontWeight: 600, color: "var(--text-muted)" }}>