From 598b370e1a88a7daa862149d67d4f9cb44e04a30 Mon Sep 17 00:00:00 2001 From: Pier-Jean Malandrino Date: Thu, 2 Apr 2026 16:42:04 +0200 Subject: [PATCH] Add icons to home stats cards with accent hover Add document and clock icons above the stat numbers for better visual context. Accent border and icon color on hover for consistent interactive feedback across the app. --- frontend/src/pages/HomePage.vue | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/frontend/src/pages/HomePage.vue b/frontend/src/pages/HomePage.vue index 8c7241f..8b054e7 100644 --- a/frontend/src/pages/HomePage.vue +++ b/frontend/src/pages/HomePage.vue @@ -17,10 +17,12 @@
+
{{ docCount }}
{{ t('home.documents') }}
+
{{ analysisCount }}
{{ t('home.analyses') }}
@@ -171,10 +173,21 @@ onMounted(() => { } .stat-card:hover { - border-color: var(--border-light); + border-color: var(--accent); background: var(--bg-elevated); } +.stat-icon { + width: 20px; + height: 20px; + color: var(--text-muted); + margin-bottom: 4px; +} + +.stat-card:hover .stat-icon { + color: var(--accent); +} + .stat-value { font-size: 28px; font-weight: 700;