diff --git a/frontend/src/components/dashboard/StatsWidget.tsx b/frontend/src/components/dashboard/StatsWidget.tsx index 1c87030..4c7c815 100644 --- a/frontend/src/components/dashboard/StatsWidget.tsx +++ b/frontend/src/components/dashboard/StatsWidget.tsx @@ -36,21 +36,21 @@ export default function StatsWidget({ projectStats, totalIncompleteTodos, weathe ]; return ( -
+
{statCards.map((stat) => ( - -
-
-

+ +

+
+

{stat.label}

-

+

{stat.value}

-
- +
+
@@ -59,39 +59,32 @@ export default function StatsWidget({ projectStats, totalIncompleteTodos, weathe {/* Weather card */} - -
-
-

+ +

+
+

WEATHER

{weatherData ? ( - <> -

+

+

{weatherData.temp}°

-

+ {weatherData.description} -

- {weatherData.city && ( -

- {weatherData.city} -

- )} - + {weatherData.city && ( + · {weatherData.city} + )} + +
) : ( - <> -

- — -

-

- No city set -

- +

+ — +

)}
-
- +
+