--- import { getFiveDayForecast } from '@support/weather'; const { latitude = "44.95", longitude = "-93.09", cityName = "St. Paul, Minnesota", timezone = "America/Chicago" } = Astro.props; const { forecastDays, error } = await getFiveDayForecast(latitude, longitude, timezone); const borderClasses = 'border border-neutral-100 dark:border-stone-500/20'; const bgColorClasses = 'bg-neutral-100/80 hover:bg-neutral-100 dark:bg-neutral-800/60 dark:hover:bg-neutral-800/90'; const shadowClasses = 'shadow-xs hover:shadow-md dark:shadow-md dark:hover:shadow-lg'; ---

Weather in my Area

Five day forecast for {cityName}

{error ? (
{error}
) : (
{forecastDays.map((day) => (
{day.dayName}
{day.label}
{day.temp}°F {day.label}
))}
)}