diff --git a/src/components/sections/WeatherSection.astro b/src/components/sections/WeatherSection.astro index 6674540..8d6a46c 100644 --- a/src/components/sections/WeatherSection.astro +++ b/src/components/sections/WeatherSection.astro @@ -19,8 +19,12 @@ const { forecastDays, error } = await getFiveDayForecast(latitude, longitude, ti {error ? ( -
- Sorry, {error.toLowerCase()} +
+
+

+ Sorry, {error.toLowerCase()} +

+
) : (
diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index dae7e92..585bbb9 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -93,7 +93,7 @@ const normalizeTitle = !title ? global.name : `${title} | ${global.name}`;
- +
@@ -103,16 +103,34 @@ const normalizeTitle = !title ? global.name : `${title} | ${global.name}`; @@ -152,6 +170,7 @@ const normalizeTitle = !title ? global.name : `${title} | ${global.name}`; /* Background that creates the "glimmer" effect */ .bg { animation: slide 25s ease-in-out infinite alternate; + will-change: transform; background-image: linear-gradient(-55deg, var(--bg-primary) 33.3%, var(--bg-secondary) 33.3%, var(--bg-secondary) 66.6%, var(--bg-tertiary) 66.6%); filter: blur(40px); top: 0;