From fd7ecad7538ae148bb85affa1238217c9068d224 Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Sat, 28 Feb 2026 21:52:06 +0000 Subject: [PATCH] Make weather widget more compact and informative Update the weather widget component to display temperature, weather description, city, wind speed, and humidity in a more compact, single-line layout. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 517dfa7b-26ac-463d-a6e1-a58c6df97188 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: d391d31b-d28a-42c0-884b-d4aa19bfcf94 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/f209e72a-0939-48fa-84fc-57854de71967/517dfa7b-26ac-463d-a6e1-a58c6df97188/0ZGabQy Replit-Helium-Checkpoint-Created: true --- client/src/components/weather-widget.tsx | 31 +++++++++--------------- 1 file changed, 12 insertions(+), 19 deletions(-) diff --git a/client/src/components/weather-widget.tsx b/client/src/components/weather-widget.tsx index 6bfdb2b..b4b2965 100644 --- a/client/src/components/weather-widget.tsx +++ b/client/src/components/weather-widget.tsx @@ -107,28 +107,21 @@ export function WeatherWidget() { if (error || !weather) return null; return ( -
-
- -

Wetter

-
-
-
- {getWeatherIcon(weather.weatherCode)} -
+
+
+
{getWeatherIcon(weather.weatherCode)}
-
{weather.temperature}°C
-
{getWeatherText(weather.weatherCode)}
+
+ {weather.temperature}°C + {getWeatherText(weather.weatherCode)} +
+
+ {weather.city} + {weather.windSpeed} km/h + {weather.humidity}% +
-
- - {weather.city} -
-
- {weather.windSpeed} km/h - {weather.humidity}% -
); }