feat: add lucide-react icons to components and update dependencies

This commit is contained in:
2025-08-02 22:53:47 +02:00
parent f4fffb73ff
commit 0da92ead3c
8 changed files with 35 additions and 125 deletions
+2 -14
View File
@@ -5,6 +5,7 @@ import Cookies from "js-cookie";
import { toast } from "react-toastify";
import WeatherData from "./WeatherData";
import { useEffect } from "react";
import { X } from "lucide-react";
const WeatherCard: React.FC = () => {
const [city, setCity] = useState("");
@@ -85,20 +86,7 @@ const WeatherCard: React.FC = () => {
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"
aria-label="Close weather data"
>
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
strokeWidth={1.5}
stroke="currentColor"
className="w-5 h-5"
>
<path
strokeLinecap="round"
strokeLinejoin="round"
d="M6 18 18 6M6 6l12 12"
/>
</svg>
<X />
</button>
)}
</div>