diff --git a/app/page.tsx b/app/page.tsx index 1195d70..6f1d62c 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -17,7 +17,7 @@ export default function Home() { return (
-
+
diff --git a/components/DailyCard/CardContainer.tsx b/components/DailyCard/CardContainer.tsx index 4573f6f..d87c33f 100644 --- a/components/DailyCard/CardContainer.tsx +++ b/components/DailyCard/CardContainer.tsx @@ -4,7 +4,7 @@ import DailyCard from "./DailyCard"; export default function CardContainer(props: {weather: Forecast}) { const weather = props.weather; return ( -
+
{weather.daily && weather.daily.apparent_temperature_max.map((temp, index) => ( index > 0 && index < 7 && // Ensure we only render the next 6 days diff --git a/components/DailyCard/DailyCard.tsx b/components/DailyCard/DailyCard.tsx index d6ffb68..7247d4f 100644 --- a/components/DailyCard/DailyCard.tsx +++ b/components/DailyCard/DailyCard.tsx @@ -8,7 +8,7 @@ export default function DailyCard(props: DailyCardPropType) { const weatherCode = props.weatherCode const temperature = props.temperature return ( -
+
diff --git a/components/LocationSearch.tsx b/components/LocationSearch.tsx index 94a90ed..8f3bc96 100644 --- a/components/LocationSearch.tsx +++ b/components/LocationSearch.tsx @@ -27,7 +27,7 @@ export default function LocationSearch() { return (