feat: update HTML structure and add logo for Weather App; remove unused SVG from WeatherCard
This commit is contained in:
@@ -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 = () => {
|
||||
<header className="bg-gradient-to-r from-blue-700 via-blue-600 to-blue-500 text-white shadow-lg py-8 px-6 flex items-center justify-between rounded-b-3xl">
|
||||
<div className="flex items-center gap-4">
|
||||
<img
|
||||
src="/favicon.ico"
|
||||
src={logo}
|
||||
alt="Weather App Logo"
|
||||
className="w-10 h-10 drop-shadow-lg"
|
||||
/>
|
||||
|
Reference in New Issue
Block a user