chore: polish codewhale home defaults

This commit is contained in:
Hunter B
2026-05-31 19:07:23 -07:00
parent 394f35b7bb
commit 2b69f4e041
43 changed files with 509 additions and 215 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ export async function generateMetadata({ params }: { params: Promise<{ locale: s
const { locale } = await params;
const isZh = locale === "zh";
return {
title: isZh ? "CodeWhale · DeepSeek V4 智能体运行框架" : "CodeWhale · DeepSeek V4 智能体运行框架",
title: isZh ? "CodeWhale · DeepSeek V4 智能体运行框架" : "CodeWhale · DeepSeek V4 Agent Harness",
description: isZh
? "DeepSeek V4 的最强智能体运行框架。宪政层级、结构化信任、验证与恢复——让模型持续工作并不断进步的规则、工具和反馈循环。国际开源社区,递归自改进。"
: "The most agentic harness for DeepSeek V4. Constitutional hierarchy, structured trust, verification, and recovery — rules, tools, and feedback loops that help the model keep working. An international open source community building a recursive, self-improving harness.",
+1 -1
View File
@@ -33,7 +33,7 @@ const cjk = Noto_Serif_SC({
});
export const metadata: Metadata = {
title: "CodeWhale · DeepSeek V4 智能体运行框架",
title: "CodeWhale · DeepSeek V4 Agent Harness",
description:
"The most agentic harness for DeepSeek V4. Constitutional hierarchy, structured trust, verification, and recovery — rules, tools, and feedback loops that help the model keep working.",
metadataBase: new URL("https://codewhale.net"),
+1 -1
View File
@@ -136,7 +136,7 @@ export function Footer({ locale = "en" }: { locale?: Locale }) {
<div className="flex flex-col sm:flex-row items-start sm:items-center justify-between gap-2 font-mono text-[0.7rem] text-ink-mute uppercase tracking-widest">
<span>© {new Date().getFullYear()} · CodeWhale · Hmbown</span>
<span className="font-cjk normal-case tracking-normal">
{isZh ? "本网站由 DeepSeek V4-Flash 协助维护" : "本网站由 DeepSeek V4-Flash 协同维护"}
{isZh ? "本网站由 DeepSeek V4-Flash 协助维护" : "Maintained with DeepSeek V4-Flash"}
</span>
</div>
</div>
+3 -3
View File
@@ -48,9 +48,9 @@ const en = {
],
tagline:
"Open-model terminal-native coding agent. DeepSeek V4 is first-class. MIT licensed. Maintained from a small workshop in Texas. Pull requests welcome.",
crafted: "Made with care · 用心制作",
poweredBy: "本网站由 DeepSeek V4-Flash 协同维护",
mirrors: "镜像源 / Mirror",
crafted: "Made with care",
poweredBy: "Maintained with DeepSeek V4-Flash",
mirrors: "Mirrors",
},
localeSwitch: { en: "EN", zh: "中文" },
};
+3 -1
View File
@@ -1,7 +1,9 @@
export default {
const redirectWorker = {
fetch(request: Request): Response {
const url = new URL(request.url);
url.host = "codewhale.net";
return Response.redirect(url.toString(), 301);
},
};
export default redirectWorker;