From 1017d52859c84fa66f0f99e44cfc66d58ecd561c Mon Sep 17 00:00:00 2001 From: taroj1205 Date: Fri, 6 Jun 2025 11:50:12 +1200 Subject: [PATCH] refactor(components): improve layout and animation consistency in Features and Hero components --- src/components/Features.astro | 42 +++++++++++++++++++++++------------ src/components/Hero.astro | 31 ++++++++++++++++---------- 2 files changed, 47 insertions(+), 26 deletions(-) diff --git a/src/components/Features.astro b/src/components/Features.astro index f1c2b60..b8b362d 100644 --- a/src/components/Features.astro +++ b/src/components/Features.astro @@ -46,10 +46,10 @@ const featureList = [
-
+

{ (titles || features.titles).map(title => { @@ -70,7 +70,7 @@ const featureList = [ }

{features.description} @@ -78,25 +78,23 @@ const featureList = [

-
+
{ featureList.map((feature, index) => ( -
+
-

+

{feature.title}

{feature.description}