Skip to content

A local-first multi-agent app development platform, built on PenguinHarness

Animate the homepage development and tuning headline (#560)

Yaowei Zheng86d025573fea
diff --git a/changelog/unreleased/2026-08-31-landing-rotating-headline.md b/changelog/unreleased/2026-08-31-landing-rotating-headline.md
new file mode 100644
index 00000000..fd2a5cdd
--- /dev/null
+++ b/changelog/unreleased/2026-08-31-landing-rotating-headline.md
@@ -0,0 +1,22 @@
+# Rotating development and tuning headline
+
+- **Date:** 2026-08-31
+- **Type:** feature
+- **Scope:** `landing`
+- **PR:** [#560](https://github.com/Prism-Shadow/penguin-harness/pull/560)
+
+[中文版](2026-08-31-landing-rotating-headline.zh.md)
+
+Added an alternating phrase to the homepage headline: “auto-dev” / “auto-tuning” in English and “自动开发” / “自动调优” in Chinese.
+
+## Headline animation
+
+- Alternated the highlighted phrases every five seconds, holding each phrase still for 4.3 seconds before a 700ms upward transition.
+- Clipped the moving phrases to a single line, keeping the outgoing and incoming text from overlapping.
+- Reserved space for both phrases to keep the surrounding headline stable.
+- Provided both phrases as static screen-reader text and displayed them together when reduced motion was enabled.
+
+## Homepage copy
+
+- Updated the case-study heading to “One sentence to an AI app that thinks and runs” and its Chinese counterpart.
+- Shortened the platform summary to “Cross-Platform Deployment” / “跨平台部署” and unified its label as “Linux · Windows · macOS” in both languages.
diff --git a/changelog/unreleased/2026-08-31-landing-rotating-headline.zh.md b/changelog/unreleased/2026-08-31-landing-rotating-headline.zh.md
new file mode 100644
index 00000000..ace4ec8a
--- /dev/null
+++ b/changelog/unreleased/2026-08-31-landing-rotating-headline.zh.md
@@ -0,0 +1,22 @@
+# 开发与调优文案轮换标题
+
+- **Date:** 2026-08-31
+- **Type:** feature
+- **Scope:** `landing`
+- **PR:** [#560](https://github.com/Prism-Shadow/penguin-harness/pull/560)
+
+[English](2026-08-31-landing-rotating-headline.md)
+
+为首页主标题加入了轮换文案:中文在「自动开发」与「自动调优」之间切换,英文对应 “auto-dev” 与 “auto-tuning”。
+
+## 标题动画
+
+- 高亮文案每五秒切换一次,每段静止显示 4.3 秒后,用 700 毫秒向上平滑切换。
+- 将移动中的文案裁切在单行范围内,避免移出与移入的文字重叠。
+- 为两段文案预留了共同的占位空间,保持周围标题布局稳定。
+- 为屏幕阅读器提供了包含两段文案的静态文本,并在启用减少动态效果时同时显示两段文案。
+
+## 首页文案
+
+- 将案例区标题更新为「一句话生成会思考、可运行的 AI 应用」,并同步了英文文案。
+- 将平台说明精简为「跨平台部署」,中英文标签统一为「Linux · Windows · macOS」。
diff --git a/packages/landing/src/lib/strings-en.ts b/packages/landing/src/lib/strings-en.ts
index 1d322687..08c4cc5b 100644
--- a/packages/landing/src/lib/strings-en.ts
+++ b/packages/landing/src/lib/strings-en.ts
@@ -49,7 +49,7 @@ export const en: Strings = {
hero: {
platformLead: "Open-source, local-first multi-agent app ",
- platformAccent: "development",
+ platformActions: ["auto-dev", "auto-tuning"],
platformTail: " platform",
automationLead: "Fully automated ",
automationActions: ["creation", "optimization", "deployment"],
@@ -58,7 +58,7 @@ export const en: Strings = {
cliInstall: "Command-line install",
stats: [
{ value: "1000+ Models", label: "Support for Major Providers" },
- { value: "Cross-Platform Local Deployment", label: "Linux · Windows · macOS" },
+ { value: "Cross-Platform Deployment", label: "Linux · Windows · macOS" },
{ value: "100% Open Source", label: "Apache 2.0 Licensed" },
{ value: "First Self-Improving Harness", label: "Native Agent Self-Evolution Engine" },
],
@@ -290,7 +290,7 @@ penguin run --message "Analyze data.csv and summarize quarterly sales"`,
cases: {
eyebrow: "Cases",
- title: "Generate a runnable agent app in one sentence",
+ title: "One sentence to an AI app that thinks and runs",
subtitle:
"Hand the requirement to an agent and get a runnable result end to end — more cases are on the way.",
tabs: [
diff --git a/packages/landing/src/lib/strings.ts b/packages/landing/src/lib/strings.ts
index 3119b06c..5b2fd2a6 100644
--- a/packages/landing/src/lib/strings.ts
+++ b/packages/landing/src/lib/strings.ts
@@ -50,7 +50,7 @@ export const zh = {
hero: {
platformLead: "开源、本地的多 Agent 应用",
- platformAccent: "自动开发",
+ platformActions: ["自动开发", "自动调优"],
platformTail: "平台",
automationLead: "全自动",
automationActions: ["创建", "优化", "部署"],
@@ -59,7 +59,7 @@ export const zh = {
cliInstall: "命令行安装",
stats: [
{ value: "1000+ 模型", label: "支持主流供应商" },
- { value: "跨平台本地部署", label: "Linux,Windows,macOS 多系统兼容" },
+ { value: "跨平台部署", label: "Linux · Windows · macOS" },
{ value: "100% 开源", label: "Apache 2.0 协议" },
{ value: "首个自进化 Harness", label: "原生 Agent 自进化引擎" },
],
@@ -278,7 +278,7 @@ penguin run --message "分析 data.csv,输出季度销售额"`,
cases: {
eyebrow: "案例",
- title: "一句话生成可运行的 Agent 应用",
+ title: "一句话生成会思考、可运行的 AI 应用",
subtitle: "把需求交给 Agent,端到端拿到可运行的结果;更多案例陆续加入。",
tabs: [
{
diff --git a/packages/landing/src/sections/hero.tsx b/packages/landing/src/sections/hero.tsx
index ea483382..2a6de894 100644
--- a/packages/landing/src/sections/hero.tsx
+++ b/packages/landing/src/sections/hero.tsx
@@ -36,7 +36,16 @@ export function Hero() {
style={{ animationDelay: "70ms" }}
>
{S.hero.platformLead}
- <span className="text-brand-600 dark:text-brand-300">{S.hero.platformAccent}</span>
+ <span className="text-brand-600 dark:text-brand-300">
+ <span className="sr-only">{S.hero.platformActions.join(" / ")}</span>
+ <span className="hero-rotator" aria-hidden="true">
+ {S.hero.platformActions.map((action) => (
+ <span key={action} className="hero-rotator-word">
+ {action}
+ </span>
+ ))}
+ </span>
+ </span>
{S.hero.platformTail}
</p>
diff --git a/packages/landing/src/styles.css b/packages/landing/src/styles.css
index d5501768..15a64504 100644
--- a/packages/landing/src/styles.css
+++ b/packages/landing/src/styles.css
@@ -146,6 +146,38 @@
font-size: clamp(1rem, 2.1vw, 1.125rem);
}
+/* Both words size the same grid cell, keeping the headline still as they alternate. */
+.hero-rotator {
+ display: inline-grid;
+ overflow: hidden;
+ vertical-align: bottom;
+}
+.hero-rotator-word {
+ grid-area: 1 / 1;
+ white-space: nowrap;
+ animation: hero-word-cycle 10s cubic-bezier(0.65, 0, 0.35, 1) infinite;
+}
+.hero-rotator-word:nth-child(2) {
+ animation-delay: -5s;
+}
+@keyframes hero-word-cycle {
+ 0%,
+ 43%,
+ 100% {
+ opacity: 1;
+ transform: translateY(0);
+ }
+ 50% {
+ opacity: 0;
+ transform: translateY(-100%);
+ }
+ 50.01%,
+ 93% {
+ opacity: 0;
+ transform: translateY(100%);
+ }
+}
+
/* ---------- Ambient neon backdrop: blurred glows wandering across the screen ----------
Viewport-FIXED (the page background stays put while content scrolls over it) with a
uniform page background behind every section, so nothing jumps at section boundaries.
@@ -329,6 +361,13 @@
opacity: 1;
transform: none;
}
+ .hero-rotator {
+ display: inline;
+ overflow: visible;
+ }
+ .hero-rotator-word + .hero-rotator-word::before {
+ content: " / ";
+ }
/* With animations disabled the trend lines' base state is hidden; restore them fully drawn. */
.anim-line-draw {
stroke-dashoffset: 0;