From 4c42bd94ea6f1b5d2695c8a51d50ab40a0a364b6 Mon Sep 17 00:00:00 2001 From: "theis.gaedigk" Date: Sun, 3 Aug 2025 19:45:01 +0200 Subject: [PATCH] fix: add cursor pointer to buttons for better UX and update WeatherForm instructions --- frontend/src/components/ChangeAPI.tsx | 2 +- frontend/src/components/ChangePreferences.tsx | 6 +++--- frontend/src/components/Header.tsx | 8 ++++---- frontend/src/components/WeatherForm.tsx | 7 +++++-- 4 files changed, 13 insertions(+), 10 deletions(-) diff --git a/frontend/src/components/ChangeAPI.tsx b/frontend/src/components/ChangeAPI.tsx index 1386233..b8b4657 100644 --- a/frontend/src/components/ChangeAPI.tsx +++ b/frontend/src/components/ChangeAPI.tsx @@ -53,7 +53,7 @@ const ChangeAPI: React.FC = ({ currentAPIKey, onClose }) => { diff --git a/frontend/src/components/Header.tsx b/frontend/src/components/Header.tsx index 106f19f..17ce289 100644 --- a/frontend/src/components/Header.tsx +++ b/frontend/src/components/Header.tsx @@ -21,14 +21,14 @@ const Header: React.FC = () => { className="w-10 h-10 drop-shadow-lg" />

- Weather App + Weather App - Local hosted

{" "} {/* Added container for buttons */} @@ -80,7 +83,7 @@ const WeatherCard: React.FC = () => { setWeatherData(false); localStorage.removeItem("weather"); }} - className="flex-shrink-0 bg-red-500 hover:bg-red-600 text-white rounded-xl p-3 shadow-lg transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-red-400" + className="cursor-pointer flex-shrink-0 bg-red-500 hover:bg-red-600 text-white rounded-xl p-3 shadow-lg transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-red-400" aria-label="Close weather data" >