From e3915a0ca4ee10c27595d74b7bad66ffcfc2f818 Mon Sep 17 00:00:00 2001 From: "theis.gaedigk" Date: Thu, 31 Jul 2025 17:17:17 +0200 Subject: [PATCH] added more design using tailwind classes --- frontend/src/Layout/Layout.tsx | 6 ++-- frontend/src/components/ChangeAPI.tsx | 25 +++++++++------- frontend/src/components/Header.tsx | 36 +++++++++++++++++------ frontend/src/components/WeatherData.tsx | 39 ++++++++++++++++--------- frontend/src/components/WeatherForm.tsx | 35 +++++++++++++++++----- 5 files changed, 100 insertions(+), 41 deletions(-) diff --git a/frontend/src/Layout/Layout.tsx b/frontend/src/Layout/Layout.tsx index 315b5ae..6734d01 100644 --- a/frontend/src/Layout/Layout.tsx +++ b/frontend/src/Layout/Layout.tsx @@ -8,7 +8,7 @@ type LayoutProps = { const Layout: React.FC = ({ children }) => { return ( -
+
= ({ children }) => { pauseOnHover theme="dark" /> -
{children}
+
+ {children} +
); }; diff --git a/frontend/src/components/ChangeAPI.tsx b/frontend/src/components/ChangeAPI.tsx index 464bcc8..f1347b3 100644 --- a/frontend/src/components/ChangeAPI.tsx +++ b/frontend/src/components/ChangeAPI.tsx @@ -12,16 +12,21 @@ const ChangeAPI: React.FC = ({ currentAPIKey }) => { return (

Change API Key

-

+

Update your API key to fetch weather data.

-

- We are using{" "} - - OpenWeatherMap - {" "} - API for fetching weather data. -

+
+ We are using + + OpenWeatherMap + + API for fetching weather data. +