diff --git a/apps/marketing/src/layouts/Layout.astro b/apps/marketing/src/layouts/Layout.astro index e60637cbfd..6f58efd490 100644 --- a/apps/marketing/src/layouts/Layout.astro +++ b/apps/marketing/src/layouts/Layout.astro @@ -1,4 +1,6 @@ --- +import { GITHUB_REPOSITORY_URL, MARKETING_STATS } from "../lib/site"; + interface Props { title?: string; description?: string; @@ -36,17 +38,18 @@ const { @@ -62,7 +65,7 @@ const { © {new Date().getFullYear()} T3 Tools Inc · MIT licensed @@ -329,23 +332,12 @@ const { gap: 8px; } - .nav-gh { - display: inline-flex; - align-items: center; - gap: 6px; - padding: 7px 12px; - border: 1px solid var(--border); - border-radius: 8px; - color: var(--fg-muted); - font-family: var(--font-mono); - font-size: 12px; - transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease; - } - - .nav-gh:hover { - color: var(--fg); - background: rgba(255, 255, 255, 0.04); - border-color: var(--border-strong); + .nav-action { + width: 112px; + height: 38px; + padding: 0 12px; + font-size: 13px; + line-height: 1; } .main { @@ -407,4 +399,22 @@ const { padding-right: 20px; } } + + @media (max-width: 420px) { + .nav-inner { + gap: 12px; + } + + .nav-right { + gap: 6px; + } + + .nav-action { + width: 98px; + height: 36px; + gap: 6px; + padding: 0 8px; + font-size: 12px; + } + } diff --git a/apps/marketing/src/lib/site.ts b/apps/marketing/src/lib/site.ts new file mode 100644 index 0000000000..40a8370f3e --- /dev/null +++ b/apps/marketing/src/lib/site.ts @@ -0,0 +1,6 @@ +export const GITHUB_REPOSITORY_URL = "https://github.com/pingdotgg/t3code"; + +export const MARKETING_STATS = { + githubStars: "12k+", + users: "100,000+", +} as const; diff --git a/apps/marketing/src/pages/index.astro b/apps/marketing/src/pages/index.astro index 0b76f35089..36ebf76485 100644 --- a/apps/marketing/src/pages/index.astro +++ b/apps/marketing/src/pages/index.astro @@ -1,5 +1,6 @@ --- import Layout from "../layouts/Layout.astro"; +import { GITHUB_REPOSITORY_URL, MARKETING_STATS } from "../lib/site"; import { tweets } from "../lib/tweets"; const desktopEndorsementRows = [ @@ -35,6 +36,17 @@ const mobileEndorsementRows = [
+
+ {MARKETING_STATS.users} users + + + + {MARKETING_STATS.githubStars} GitHub stars + +
+

The open-source
control plane
for coding agents.

@@ -55,7 +67,7 @@ const mobileEndorsementRows = [ Download for macOS - + @@ -282,10 +294,6 @@ const mobileEndorsementRows = [
Open source

If you don't like something, fork it.

-

- T3 Code is as open as they come. We built this app to be modifiable, - customizable, and forkable. Go nuts - that's the whole point. -

@@ -305,43 +313,32 @@ const mobileEndorsementRows = [
-
-
-
MIT
-
License · commercial-friendly
+
- -
@@ -513,9 +510,51 @@ const mobileEndorsementRows = [ text-align: center; } + .hero-proof { + width: fit-content; + margin: 12px auto 0; + padding: 7px 11px; + display: inline-flex; + align-items: center; + gap: 10px; + border: 1px solid var(--border); + border-radius: 999px; + background: rgba(255, 255, 255, 0.02); + color: var(--fg-muted); + font-family: var(--font-mono); + font-size: 11px; + letter-spacing: -0.01em; + } + + .hero-proof strong { + color: var(--fg); + font-weight: 500; + } + + .hero-proof a { + display: inline-flex; + align-items: center; + gap: 5px; + transition: color 0.18s ease; + } + + .hero-proof a:hover { + color: var(--fg); + } + + .hero-proof a svg { + color: var(--warn); + } + + .hero-proof-divider { + width: 1px; + height: 12px; + background: var(--border-strong); + } + .hero-title { font-size: clamp(38px, 5.6vw, 76px); - margin: 28px auto 22px; + margin: 24px auto 22px; max-width: 20ch; text-wrap: balance; } @@ -656,6 +695,30 @@ const mobileEndorsementRows = [ } } + @media (max-width: 340px) { + .hero-float-mark.hf-opencode, + .hero-float-mark.hf-cursor { + top: 580px; + width: 52px; + height: 52px; + border-radius: 14px; + } + + .hero-float-mark.hf-opencode { + left: 0; + } + + .hero-float-mark.hf-cursor { + right: 0; + } + + .hero-float-mark.hf-opencode img, + .hero-float-mark.hf-cursor img { + width: 30px; + height: 30px; + } + } + .hero-preview { max-width: 1180px; margin: 0 auto; @@ -962,12 +1025,11 @@ const mobileEndorsementRows = [ text-align: center; margin: 0 auto 56px; } - .open-head p { margin: 0 auto; } .open-grid { display: grid; grid-template-columns: 1.25fr 1fr; - gap: 20px; margin-bottom: 32px; + gap: 20px; } .open-term { padding: 0; overflow: hidden; } @@ -1009,27 +1071,67 @@ const mobileEndorsementRows = [ animation: blink 1s steps(2) infinite; } - .open-stats { - display: grid; - grid-template-columns: 1fr 1fr; - gap: 12px; - } - .open-stat { - padding: 22px; - display: flex; flex-direction: column; gap: 6px; - } - .open-stat-val { - font-size: 22px; font-weight: 500; - letter-spacing: -0.015em; - } - .open-stat-lbl { - font-family: var(--font-mono); font-size: 10.5px; - color: var(--fg-dim); letter-spacing: 0.04em; + .open-pitch { + padding: 28px; + display: flex; + flex-direction: column; + justify-content: space-between; + gap: 40px; + background: + radial-gradient(circle at 100% 0%, var(--accent-dim), transparent 52%), + linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent); } - .open-ctas { - display: flex; gap: 10px; - justify-content: center; flex-wrap: wrap; + .open-pitch h3 { + max-width: 9ch; + font-size: clamp(30px, 3vw, 42px); + font-weight: 500; + letter-spacing: -0.035em; + line-height: 1.04; + } + + .open-pitch-copy p { + max-width: 30ch; + margin-top: 14px; + color: var(--fg-muted); + font-size: 16px; + line-height: 1.5; + } + + .open-pitch-footer { + display: flex; + flex-direction: column; + gap: 18px; + } + + .open-pitch-meta { + display: flex; + align-items: center; + gap: 8px; + color: var(--fg-dim); + font-family: var(--font-mono); + font-size: 11px; + } + + .open-pitch-actions { + display: flex; + align-items: center; + gap: 16px; + flex-wrap: wrap; + } + + .open-source-link { + display: inline-flex; + align-items: center; + gap: 6px; + color: var(--fg-muted); + font-size: 13px; + font-weight: 500; + transition: color 0.18s ease; + } + + .open-source-link:hover { + color: var(--fg); } /* ── Final CTA ────────────────────────────────────────── */