diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 5ed0008..b45d4b5 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -24,7 +24,7 @@ const t = useTranslations(lang); - {title}{t('site.title') ? ` | ${t('site.title')}` : ''} + {title} | {t("site.title")} { @@ -37,8 +37,11 @@ const t = useTranslations(lang); class="min-h-screen bg-background font-sans antialiased selection:bg-primary/20 selection:text-primary" >
+
+
+
diff --git a/src/pages/index.astro b/src/pages/index.astro index 1159e4a..ed61091 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -45,12 +45,13 @@ const keyFacts = [
-
- {/* 统一的页面背景装饰 */} -
- -
-
+
+
+
+
+
+
+
@@ -85,8 +86,8 @@ const keyFacts = [
-
-
+
+
@@ -124,42 +125,44 @@ const keyFacts = [
-
- -
-
-

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

-

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

+
+
+ +
+
+

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

+

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

+
+ + {t("services.viewAll")} + +
- - {t("services.viewAll")} - - -
-
- {localizedServices.map((service) => ( -
-
-
- - - +
+ {localizedServices.map((service) => ( +
+
+
+ + + +
+

{service.title}

-

{service.title}

-
-
    - {service.items.slice(0, 3).map((item) => ( -
  • - - {item} -
  • - ))} -
-
- ))} -
- +
    + {service.items.slice(0, 3).map((item) => ( +
  • + + {item} +
  • + ))} +
+ + ))} +
+ +
@@ -177,7 +180,7 @@ const keyFacts = [
-
+
{item.period}

{item.title}

{item.outcome}

@@ -197,66 +200,68 @@ const keyFacts = [
- -
-

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

-
+
+ +
+

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

+
-
- {featuredProjects.map((project) => ( -
- {/* 顶部封面图区域 */} -
-
-
- {project.icon} -
-
- - {project.type} - -
-
- - {/* 内容区域 */} -
-
-

{project.title}

-

- {project.impact} -

- -
- {project.tech.map((tech) => ( - - {tech} - - ))} +
+ {featuredProjects.map((project) => ( + - ))} -
- +
+ ))} +
+
+
-
-
+
+

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

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

diff --git a/src/pages/zh/index.astro b/src/pages/zh/index.astro index 1159e4a..ed61091 100644 --- a/src/pages/zh/index.astro +++ b/src/pages/zh/index.astro @@ -45,12 +45,13 @@ const keyFacts = [
-
- {/* 统一的页面背景装饰 */} -
- -
-
+
+
+
+
+
+
+
@@ -85,8 +86,8 @@ const keyFacts = [
-
-
+
+
@@ -124,42 +125,44 @@ const keyFacts = [
-
- -
-
-

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

-

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

+
+
+ +
+
+

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

+

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

+
+ + {t("services.viewAll")} + +
- - {t("services.viewAll")} - - -
-
- {localizedServices.map((service) => ( -
-
-
- - - +
+ {localizedServices.map((service) => ( +
+
+
+ + + +
+

{service.title}

-

{service.title}

-
-
    - {service.items.slice(0, 3).map((item) => ( -
  • - - {item} -
  • - ))} -
-
- ))} -
- +
    + {service.items.slice(0, 3).map((item) => ( +
  • + + {item} +
  • + ))} +
+ + ))} +
+ +
@@ -177,7 +180,7 @@ const keyFacts = [
-
+
{item.period}

{item.title}

{item.outcome}

@@ -197,66 +200,68 @@ const keyFacts = [
- -
-

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

-
+
+ +
+

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

+
-
- {featuredProjects.map((project) => ( -
- {/* 顶部封面图区域 */} -
-
-
- {project.icon} -
-
- - {project.type} - -
-
- - {/* 内容区域 */} -
-
-

{project.title}

-

- {project.impact} -

- -
- {project.tech.map((tech) => ( - - {tech} - - ))} +
+ {featuredProjects.map((project) => ( + - ))} -
- +
+ ))} +
+
+
-
-
+
+

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

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