diff --git a/app/components/WeatherDetailsGird.tsx b/app/components/WeatherDetailsGird.tsx
index 30bf498..d4fe5ff 100644
--- a/app/components/WeatherDetailsGird.tsx
+++ b/app/components/WeatherDetailsGird.tsx
@@ -1,5 +1,6 @@
import { Cloud, Droplets, Gauge, ThermometerSun, Wind } from "lucide-react";
import { useWeatherStore } from "@/store/weatherStore";
+import { MapPin, Thermometer } from "lucide-react";
interface WeatherDetailsGridProps {
icon: React.ReactNode;
diff --git a/app/components/WeatherDispaly2.tsx b/app/components/WeatherDispaly2.tsx
deleted file mode 100644
index b519075..0000000
--- a/app/components/WeatherDispaly2.tsx
+++ /dev/null
@@ -1,45 +0,0 @@
-import { MapPin, Thermometer } from "lucide-react";
-
-export function WeatherDisplay2(){
- const {currentWeather} = useWeatherStore();
- if(!currentWeather) return null;
-
- return(
-
-
-
-
-
-
-
{currentWeather.location.name}
-
-
- {currentWeather.location.country}
-
-
-
-
-
-
-
- {formatTemperature(currentWeather.current.temperature)}
-
-
- °C
-
-
-
- {currentWeather.current.weather_descriptions[0]}
-
-
-
- 体感{formatTemperature(currentWeather.current.feelslike)}°C
-
-
-
-
- )
-}
\ No newline at end of file
diff --git a/app/components/WeatherDisplay.tsx b/app/components/WeatherDisplay.tsx
index 6efd581..c6e3415 100644
--- a/app/components/WeatherDisplay.tsx
+++ b/app/components/WeatherDisplay.tsx
@@ -9,6 +9,7 @@ import {
CloudSnow,
CloudSun,
MapPin, Moon, Sun,
+ Thermometer,
ThermometerSun
} from 'lucide-react';
@@ -44,3 +45,48 @@ function WeatherIcon({ description, isDay, className = "w-16 h-16 md:w-20 md:h-2
}
return isDaytime ? : ;
}
+
+
+export function WeatherDisplay2(){
+ const {currentWeather} = useWeatherStore();
+ if(!currentWeather) return null;
+
+ return(
+
+
+
+
+
+
+
{currentWeather.location.name}
+
+
+ {currentWeather.location.country}
+
+
+
+
+
+
+
+ {formatTemperature(currentWeather.current.temperature)}
+
+
+ °C
+
+
+
+ {currentWeather.current.weather_descriptions[0]}
+
+
+
+ 体感{formatTemperature(currentWeather.current.feelslike)}°C
+
+
+
+
+ )
+}
\ No newline at end of file