From 219853f1af10ba866586839487397ca848cca83e Mon Sep 17 00:00:00 2001 From: Benyomin Date: Wed, 28 Oct 2026 18:27:09 -0400 Subject: [PATCH] fix(marketing): show other download platforms for the detected OS --- apps/marketing/src/pages/index.astro | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/apps/marketing/src/pages/index.astro b/apps/marketing/src/pages/index.astro index a4767e7bb4bca..ccb52ffa2401e 100644 --- a/apps/marketing/src/pages/index.astro +++ b/apps/marketing/src/pages/index.astro @@ -406,7 +406,7 @@ const mobileEndorsementRows = [ Download for macOS - Windows · Linux · other + Windows · Linux · other @@ -452,6 +452,14 @@ const mobileEndorsementRows = [ document.documentElement.dataset.platform = platform.os; if (label) label.textContent = platform.label; if (ctaLabel) ctaLabel.textContent = platform.label; + const otherPlatforms = document.getElementById("cta-other-platforms"); + if (otherPlatforms) { + otherPlatforms.textContent = { + mac: "Windows · Linux · other", + win: "macOS · Linux · other", + linux: "macOS · Windows · other", + }[platform.os]; + } if (kbd && platform.os !== "mac") kbd.textContent = "Ctrl ⏎"; try {