diff --git a/public/index.html b/public/index.html index ef88772..d897068 100644 --- a/public/index.html +++ b/public/index.html @@ -2245,21 +2245,30 @@ - {/* Band Conditions - Compact */} + {/* Band Conditions - Compact with color coding */}
📊 BAND CONDITIONS
- {bandConditions.data.map(band => ( -
-
{band.band}
-
{band.status?.substring(0,4)}
-
- ))} + {bandConditions.data.map(band => { + const colors = { + GOOD: { bg: 'rgba(0,255,136,0.2)', color: '#00ff88', border: 'rgba(0,255,136,0.4)' }, + FAIR: { bg: 'rgba(255,180,50,0.2)', color: '#ffb432', border: 'rgba(255,180,50,0.4)' }, + POOR: { bg: 'rgba(255,68,102,0.2)', color: '#ff4466', border: 'rgba(255,68,102,0.4)' } + }; + const style = colors[band.condition] || colors.FAIR; + return ( +
+
{band.band}
+
{band.condition}
+
+ ); + })}