refactor: extract RingGraph, StatsRingGraph, MacroBreakdown components
All checks were successful
CI / update (push) Successful in 3m28s

Consolidate 6 duplicated instances of the SVG arc ring pattern into a
composable component hierarchy: RingGraph (base ring), StatsRingGraph
(ring with target markers), and MacroBreakdown (3 rings + kcal + detail
table). Removes ~400 lines of duplicated SVG/CSS from FoodSearch,
nutrition page, meals page, stats page, food detail page, and recipe
NutritionSummary.
This commit is contained in:
2026-04-08 22:21:21 +02:00
parent dff8bccae1
commit 9d8d1ec41f
10 changed files with 420 additions and 602 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "homepage",
"version": "1.17.0",
"version": "1.17.1",
"private": true,
"type": "module",
"scripts": {