diff --git a/client/src/components/WeatherWidget.tsx b/client/src/components/WeatherWidget.tsx index cf226b9..d4a01dc 100644 --- a/client/src/components/WeatherWidget.tsx +++ b/client/src/components/WeatherWidget.tsx @@ -291,15 +291,12 @@ export default function WeatherWidget() {
Année dernière
-
+
{Math.round(previousTemp)}°
-
- {translateToFrench(weather.previousYear?.condition || '')} -
)} @@ -307,24 +304,29 @@ export default function WeatherWidget() { {/* Différence */} {currentTemp !== undefined && previousTemp !== undefined && ( <> -
-
- {tempDifference > 0 ? ( -
- ↗ - +{Math.round(tempDifference)}° -
- ) : tempDifference < 0 ? ( -
- ↘ - {Math.round(tempDifference)}° -
- ) : ( -
- = - 0° -
- )} +
+
+
+ Différence +
+
+ {tempDifference > 0 ? ( +
+ ↗ + +{Math.round(tempDifference)}° +
+ ) : tempDifference < 0 ? ( +
+ ↘ + {Math.round(tempDifference)}° +
+ ) : ( +
+ = + 0° +
+ )} +
)}