From 8d199d5eab2c0f837c0ac35157e1a5e5eef5dfa9 Mon Sep 17 00:00:00 2001 From: Marco Allegretti Date: Thu, 29 Jan 2026 18:28:20 +0100 Subject: [PATCH] ux: add delegations insights panel --- frontend/src/pages/delegations.astro | 141 +++++++++++++++++++++++++++ 1 file changed, 141 insertions(+) diff --git a/frontend/src/pages/delegations.astro b/frontend/src/pages/delegations.astro index f27f809..2fac36b 100644 --- a/frontend/src/pages/delegations.astro +++ b/frontend/src/pages/delegations.astro @@ -53,6 +53,20 @@ import DelegationGraph from '../components/voting/DelegationGraph.astro'; +
+ + Insights + + + + +
+
+

Loading...

+
+
+
+
@@ -400,6 +414,26 @@ import DelegationGraph from '../components/voting/DelegationGraph.astro'; color: var(--color-text-muted); } + .insights-body { + display: grid; + gap: 0.75rem; + } + + .insights-title { + font-weight: 700; + letter-spacing: -0.01em; + } + + .insights-list { + margin: 0; + padding-left: 1.1rem; + color: var(--color-text-muted); + font-size: 0.9375rem; + line-height: 1.5; + display: grid; + gap: 0.35rem; + } + @media (max-width: 640px) { .delegate-card { flex-direction: column; @@ -417,6 +451,11 @@ import DelegationGraph from '../components/voting/DelegationGraph.astro';