From 619b0ece940ed0ae92a1efffc2b3a1409f0c95d8 Mon Sep 17 00:00:00 2001 From: Vedank Purohit Date: Sun, 12 Jul 2026 15:28:55 +0530 Subject: [PATCH] fix(marketing): show platform-appropriate commit shortcut on the website (#3644) --- apps/marketing/src/pages/index.astro | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/marketing/src/pages/index.astro b/apps/marketing/src/pages/index.astro index 69de2088d43f7cbb19e6488882ccc7079432605d..477daeb3cb00bb9115145214911833d7b2e0b608 100644 --- a/apps/marketing/src/pages/index.astro +++ b/apps/marketing/src/pages/index.astro @@ -254,7 +254,7 @@ const mobileEndorsementRows = [ @@ -403,12 +403,14 @@ const mobileEndorsementRows = [ const label = document.getElementById("download-label"); const ctaBtn = document.getElementById("cta-download-btn") as HTMLAnchorElement | null; const ctaLabel = document.getElementById("cta-download-label"); + const kbd = document.getElementById("pr-button-kbd"); const platform = detectPlatform(); if (!platform) return; document.documentElement.dataset.platform = platform.os; if (label) label.textContent = platform.label; if (ctaLabel) ctaLabel.textContent = platform.label; + if (kbd && platform.os !== "mac") kbd.textContent = "Ctrl ⏎"; try { const release = await fetchLatestRelease(); -- 2.54.0