From 4fa8213e8f6946f4a7d122f2439cf8d200e3d88d Mon Sep 17 00:00:00 2001 From: zguiyang Date: Sat, 14 Mar 2026 14:29:12 +0800 Subject: [PATCH] refactor(home): modernize layout, spacing, and component styles - Reduced section spacing and adjusted minimum height for improved visual balance. - Updated card designs, headlines, and typography for better readability and flow. - Simplified styles and reorganized structure for enhanced maintainability. - Refined call-to-action area with improved button styling and responsiveness. --- src/pages/index.astro | 38 +++++++++++++++++--------------------- src/pages/zh/index.astro | 25 +++++++++++-------------- 2 files changed, 28 insertions(+), 35 deletions(-) diff --git a/src/pages/index.astro b/src/pages/index.astro index a2128ea..0fd09ca 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -52,9 +52,9 @@ const keyFacts = [
-
+
-
+

@@ -73,7 +73,9 @@ const keyFacts = [ {t("home.hero.ctaSecondary")}

+
+
{keyFacts.map((item) => ( @@ -82,9 +84,6 @@ const keyFacts = [ ))}
-
- -
@@ -125,7 +124,7 @@ const keyFacts = [
-
+
@@ -142,7 +141,7 @@ const keyFacts = [
{localizedServices.map((service) => ( -
+
@@ -203,7 +202,7 @@ const keyFacts = [
-
+

{t("home.featured.title")}

@@ -218,19 +217,16 @@ const keyFacts = [
-
-
-
-

{t("home.final.title")}

-

{t("home.final.description")}

- +
+

{t("home.final.title")}

+

{t("home.final.description")}

+
diff --git a/src/pages/zh/index.astro b/src/pages/zh/index.astro index dd3a304..49f0947 100644 --- a/src/pages/zh/index.astro +++ b/src/pages/zh/index.astro @@ -202,7 +202,7 @@ const keyFacts = [
-
+

{t("home.featured.title")}

@@ -260,19 +260,16 @@ const keyFacts = [
-
-
-
-

{t("home.final.title")}

-

{t("home.final.description")}

- +
+

{t("home.final.title")}

+

{t("home.final.description")}

+