+
-
+
-
+
+
-
+
- {
- subTitle && (
-
{subTitle}
- )
- }
+ {subTitle && (
+
+ )}
-
- {
- url && (
-
-
-
- )
- }
+
+ {url && (
+
+
+
+ )}
diff --git a/src/components/sections/HeaderSection.astro b/src/components/sections/HeaderSection.astro
index 9c2efa5..da89173 100644
--- a/src/components/sections/HeaderSection.astro
+++ b/src/components/sections/HeaderSection.astro
@@ -15,21 +15,17 @@ const { title, subTitle, btnExists, btnTitle, btnURL } = Astro.props;
-
+
-
+
- {
- btnExists ? (
-
-
-
- ) : null
- }
+ {btnExists ? (
+
+
+
+ ) : null}
diff --git a/src/components/sections/HeroSection.astro b/src/components/sections/HeroSection.astro
index 30f8def..db40f03 100644
--- a/src/components/sections/HeroSection.astro
+++ b/src/components/sections/HeroSection.astro
@@ -3,9 +3,6 @@ import GoLinkPrimary from '@components/buttons/GoLinkPrimary.astro';
import GoLinkSecondary from '@components/buttons/GoLinkSecondary.astro';
import Image from '@components/ui/images/Image.astro';
-const { title, subTitle, primaryBtn, primaryBtnURL, secondaryBtn, secondaryBtnURL, src, alt } =
- Astro.props;
-
interface Props {
title: string;
subTitle?: string;
@@ -18,49 +15,42 @@ interface Props {
rounded?: boolean;
}
+const { title, subTitle, primaryBtn, primaryBtnURL, secondaryBtn, secondaryBtnURL, src, alt } = Astro.props;
+
const roundedClasses = Astro.props.rounded ? "rounded-xl" : null;
---
-
+
-
+
- {
- subTitle && (
-
- {subTitle}
-
- )
- }
-
-
+ {subTitle && (
+
+ )}
+
{primaryBtn && }
{secondaryBtn && }
-
-
- {
- src && alt && (
-
- )
- }
+
+
+ {src && alt && (
+
+ )}
diff --git a/src/components/sections/WeatherSection.astro b/src/components/sections/WeatherSection.astro
index fd5fab0..8ce3091 100644
--- a/src/components/sections/WeatherSection.astro
+++ b/src/components/sections/WeatherSection.astro
@@ -8,7 +8,7 @@ const { forecastDays, error } = await getFiveDayForecast(latitude, longitude, ti