fix: wind speed in m/s, redesigned weather modal with hero section and forecast cards
All checks were successful
Deploy / deploy (push) Successful in 2m55s

This commit is contained in:
Cosmo
2026-04-22 19:35:46 +00:00
parent 868d35ba3e
commit eed8db5865
2 changed files with 166 additions and 109 deletions

View File

@@ -77,7 +77,7 @@ export async function GET() {
humidity: String(current.relative_humidity_2m),
desc: wmoToDesc(current.weather_code),
weatherCode: wmoToWttrCode(current.weather_code),
windSpeed: String(Math.round(current.wind_speed_10m)),
windSpeed: String(Math.round(current.wind_speed_10m / 3.6)),
forecast,
});
} catch (e) {