Skip to content

CubeLoop — a Pythonic, async-native agent harness core designed for high performance, readability, and production-grade persistence.

fix(website): fold homepage tagline into the H1 for SEO

Claude2f74577fe67e
diff --git a/website/src/components/Home/Hero.module.css b/website/src/components/Home/Hero.module.css
index aa29382..8fc4195 100644
--- a/website/src/components/Home/Hero.module.css
+++ b/website/src/components/Home/Hero.module.css
@@ -1,8 +1,8 @@
.hero { max-width: 880px; margin: 48px auto 64px; padding: 0 24px; text-align: left; }
.banner { display: block; width: 100%; height: auto; border: 1px solid var(--ink-5); border-radius: 6px; margin-bottom: 40px; }
.eyebrow { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; color: var(--ink-7); letter-spacing: 0.06em; margin-bottom: 12px; }
-.h1 { font-family: 'Inter Tight', 'Inter', system-ui; font-size: 52px; line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; color: var(--ink-12); margin: 0 0 12px; }
-.tagline { font-family: 'Inter Tight', 'Inter', system-ui; font-size: 22px; line-height: 1.35; letter-spacing: -0.01em; font-style: italic; font-weight: 400; color: var(--ink-11); margin: 0 0 20px; }
+.h1 { font-family: 'Inter Tight', 'Inter', system-ui; font-size: 52px; line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; color: var(--ink-12); margin: 0 0 20px; }
+.h1sub { display: block; margin-top: 12px; font-family: 'Inter Tight', 'Inter', system-ui; font-size: 22px; line-height: 1.35; letter-spacing: -0.01em; font-style: italic; font-weight: 400; color: var(--ink-11); }
.lead { font-size: 16px; line-height: 1.55; color: var(--ink-9); margin: 0 0 28px; max-width: 640px; }
.lead code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 14px; padding: 1px 5px; background: var(--ink-3); border-radius: 3px; color: var(--ink-11); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
@@ -14,4 +14,4 @@
.ctaGhost { background: transparent; }
.kbd { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 10.5px; height: 18px; min-width: 18px; padding: 0 5px; display: inline-flex; align-items: center; border: 1px solid var(--ink-5); border-bottom-width: 2px; border-radius: 4px; background: var(--surface); color: var(--ink-9); opacity: 0.85; }
.ctaPrimary .kbd { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85); border-color: transparent; }
-@media (max-width: 640px) { .h1 { font-size: 36px; } .tagline { font-size: 18px; } .hero { margin-top: 24px; } }
+@media (max-width: 640px) { .h1 { font-size: 36px; } .h1sub { font-size: 18px; } .hero { margin-top: 24px; } }
diff --git a/website/src/components/Home/Hero.tsx b/website/src/components/Home/Hero.tsx
index a0b98e3..c4ff0f5 100644
--- a/website/src/components/Home/Hero.tsx
+++ b/website/src/components/Home/Hero.tsx
@@ -26,10 +26,16 @@ export default function Hero() {
height={640}
/>
<div className={styles.eyebrow}>cubepi · v{version}</div>
- <h1 className={styles.h1}>CubePi</h1>
- <p className={styles.tagline}>
- {zh ? '一个 Pythonic 原生异步 Agent 框架。' : 'A Pythonic, async-native agent framework.'}
- </p>
+ {/* Tagline lives inside the <h1> (as a styled subline) so the page's
+ single H1 carries the descriptive keyword phrase, not just the brand
+ name — while rendering identically to the previous brand + tagline
+ stack. */}
+ <h1 className={styles.h1}>
+ CubePi
+ <span className={styles.h1sub}>
+ {zh ? '一个 Pythonic 原生异步 Agent 框架。' : 'A Pythonic, async-native agent framework.'}
+ </span>
+ </h1>
<p className={styles.lead}>
{zh ? (
<>