From 475ab2fb1c6740fb74fc5ceca904c4c4e1298103 Mon Sep 17 00:00:00 2001 From: KeiKurosawa Date: Tue, 28 Jul 2026 01:17:09 +0800 Subject: [PATCH 1/2] feat(home): refine homepage product copy --- src/components/DeveloperCount.tsx | 2 +- src/messages/zh.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/DeveloperCount.tsx b/src/components/DeveloperCount.tsx index 9d90ba6..d6b91d9 100644 --- a/src/components/DeveloperCount.tsx +++ b/src/components/DeveloperCount.tsx @@ -4,7 +4,7 @@ import { useTranslations } from "next-intl"; import { useEffect, useState } from "react"; /** - * "已经有 N 名开发者参与战斗 ⚔️" — fetches the evaluated-account count and counts + * "已经有 N 名开发者惨遭锐评。" — fetches the evaluated-account count and counts * up from 0 to N on mount. Renders nothing until there is a positive count (so a * cold / DB-less environment shows no broken state). */ diff --git a/src/messages/zh.json b/src/messages/zh.json index f97c903..c1f4e06 100644 --- a/src/messages/zh.json +++ b/src/messages/zh.json @@ -73,8 +73,8 @@ }, "home": { "brand": "毒舌", - "headline": "发现最佳开发者,也成为其中之一", - "subtitle": "先来一发 0–100 分的毒舌成色检测,看清你在哪,知道往哪走。", + "headline": "让“我为人人”的开发者被人人看见", + "subtitle": "从夯到拉锐评 GitHub 账号", "boardHeading": "🏆 发现最佳开发者", "openBoard": "打开完整榜单 →", "disclaimer1": "本站仅基于 GitHub 公开数据自动生成评分与点评,吐槽的是账号的公开行为与数据,非针对个人。结果不构成对任何人的事实认定,请勿用于骚扰。", @@ -410,7 +410,7 @@ "cancel": "取消", "saveContinue": "保存并继续" }, - "developerCount": "已经有 {count, number} 名开发者参与战斗 ⚔️", + "developerCount": "已经有 {count, number} 名开发者惨遭锐评。", "shareCard": { "beatLabel": "超越的开发者", "brand": "🔥 ghfind · 来测测你的含金量" From fa0be1d44aa23c9c751bac1166297462a85ce931 Mon Sep 17 00:00:00 2001 From: KeiKurosawa Date: Tue, 28 Jul 2026 02:19:44 +0800 Subject: [PATCH 2/2] fix(home): preserve headline line break --- src/app/[locale]/page.tsx | 2 +- src/messages/zh.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/[locale]/page.tsx b/src/app/[locale]/page.tsx index 4e339d3..b27b3cf 100644 --- a/src/app/[locale]/page.tsx +++ b/src/app/[locale]/page.tsx @@ -47,7 +47,7 @@ export default async function Home({ params }: { params: Promise<{ locale: strin

{t("brand")} GitHub

-

+

{t("headline")}

diff --git a/src/messages/zh.json b/src/messages/zh.json index c1f4e06..4fb1f84 100644 --- a/src/messages/zh.json +++ b/src/messages/zh.json @@ -73,7 +73,7 @@ }, "home": { "brand": "毒舌", - "headline": "让“我为人人”的开发者被人人看见", + "headline": "让“我为人人”的开发者\n被人人看见", "subtitle": "从夯到拉锐评 GitHub 账号", "boardHeading": "🏆 发现最佳开发者", "openBoard": "打开完整榜单 →",