From 69da5e7f581abaabe205668f95ada3d10e1ec16f Mon Sep 17 00:00:00 2001 From: Xisheng-Zhao Date: Mon, 8 Jun 2026 18:00:27 +0800 Subject: [PATCH] Add GitHub star call-to-action in download section --- site/src/App.tsx | 7 ++++--- site/src/styles.css | 8 ++++++++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/site/src/App.tsx b/site/src/App.tsx index 35e1ed0..4e2249a 100644 --- a/site/src/App.tsx +++ b/site/src/App.tsx @@ -35,7 +35,7 @@ const copy: Record }; workspace: { kicker: string; title: string; subtitle: string; items: Array<{ title: string; subtitle: string }> }; video: { kicker: string; title: string; body: string }; - download: { kicker: string; title: string; package: string; api: string; sha: string; latest: string; source: string }; + download: { kicker: string; title: string; package: string; api: string; sha: string; latest: string; source: string; star: string }; trust: { kicker: string; items: string[] }; footer: { tagline: string; multica: string; github: string; download: string }; }> = { @@ -87,7 +87,7 @@ const copy: Record{t.download.latest} {t.download.source} +

{t.download.star}

diff --git a/site/src/styles.css b/site/src/styles.css index 094c962..7bd374c 100644 --- a/site/src/styles.css +++ b/site/src/styles.css @@ -884,3 +884,11 @@ pre { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); } } + +.star-hint { + margin-top: 20px; + font-size: 15px; + color: var(--muted); + text-align: center; + font-weight: 600; +}