diff --git a/frontend/index.html b/frontend/index.html index e4b78ea..6f23522 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -1,10 +1,14 @@ - + - + - Vite + React + TS + Weather App
diff --git a/frontend/src/assets/cloud-sun-fill.svg b/frontend/src/assets/cloud-sun-fill.svg new file mode 100644 index 0000000..da5ecac --- /dev/null +++ b/frontend/src/assets/cloud-sun-fill.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/frontend/src/components/Header.tsx b/frontend/src/components/Header.tsx index 91cb044..595d762 100644 --- a/frontend/src/components/Header.tsx +++ b/frontend/src/components/Header.tsx @@ -2,6 +2,7 @@ import React from "react"; import ChangeAPI from "./ChangeAPI"; import { useState } from "react"; import Cookies from "js-cookie"; +import logo from "../assets/cloud-sun-fill.svg"; const Header: React.FC = () => { const [apiCard, setApiCard] = useState(false); @@ -12,7 +13,7 @@ const Header: React.FC = () => {
Weather App Logo diff --git a/frontend/src/components/WeatherData.tsx b/frontend/src/components/WeatherData.tsx index 6f87e34..417b2a9 100644 --- a/frontend/src/components/WeatherData.tsx +++ b/frontend/src/components/WeatherData.tsx @@ -16,15 +16,6 @@ const WeatherData: React.FC = () => {

- - - {weatherData?.name}

diff --git a/frontend/src/components/WeatherForm.tsx b/frontend/src/components/WeatherForm.tsx index 357cb64..cbbc0f4 100644 --- a/frontend/src/components/WeatherForm.tsx +++ b/frontend/src/components/WeatherForm.tsx @@ -48,16 +48,7 @@ const WeatherCard: React.FC = () => { return (

- - - - Weather Card + Weather

Current weather will be displayed here.