From 347050a538fe489a7a058e0b155151b30ec29b0a Mon Sep 17 00:00:00 2001 From: Richard Bergsma Date: Sat, 7 Jun 2025 17:38:40 +0200 Subject: [PATCH] Refactor Hero2 component by removing unnecessary animation classes for cleaner markup - Simplified class attributes in the Hero2 component by removing redundant animation classes, enhancing readability and maintainability. --- src/components/widgets/Hero2.astro | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/widgets/Hero2.astro b/src/components/widgets/Hero2.astro index 4ff19c2..a9d3b74 100644 --- a/src/components/widgets/Hero2.astro +++ b/src/components/widgets/Hero2.astro @@ -41,7 +41,7 @@ const { { title && (

) @@ -50,7 +50,7 @@ const { { subtitle && (

) @@ -58,7 +58,7 @@ const { { actions && ( -

+
{Array.isArray(actions) ? ( actions.map((action) => (
@@ -77,7 +77,7 @@ const {
{ image && ( -
+
{typeof image === 'string' ? ( ) : (