feat: add fallback

This commit is contained in:
2026-03-15 23:01:12 -05:00
parent 91c9a4bb91
commit 787479e077
2 changed files with 15 additions and 5 deletions

View File

@@ -7,7 +7,7 @@ const { latitude = "44.95", longitude = "-93.09", cityName = "St. Paul, Minnesot
const { forecastDays, error } = await getFiveDayForecast(latitude, longitude, timezone);
---
<section class="max-w-340 2xl:max-w-fullpx-4 sm:px-6 lg:px-8 py-10 lg:py-14 mx-auto mb-2 md:mb-8">
<section class="max-w-340 2xl:max-w-full px-4 sm:px-6 lg:px-8 py-10 lg:py-14 mx-auto mb-2 md:mb-8">
<div class="text-center max-w-2xl mx-auto mb-10 lg:mb-14">
<h1 class="smooth-reveal card-text-header block">
Weather in my Area