@devries-cameron20 / t3code Mirror · read-only / commits / 619b0ece94
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 24, 21:30 UTC

fix(marketing): show platform-appropriate commit shortcut on the website (#3644)

Vedank Purohit committed Jul 12, 2026 at 15:28 UTC 619b0ece940ed0ae92a1efffc2b3a1409f0c95d8
1 file changed +3 -1
apps/marketing/src/pages/index.astro
+3 -1
@@ -254,7 +254,7 @@ const mobileEndorsementRows = [
254 <button class="pr-button">
255 <svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><circle cx="6" cy="6" r="2.2"/><circle cx="6" cy="18" r="2.2"/><circle cx="18" cy="6" r="2.2"/><path d="M6 8v8M18 8v5a3 3 0 01-3 3h-3M13 13l-2 3 2 3"/></svg>
256 Commit &amp; push
257 - <span class="pr-button-kbd">⌘⏎</span>
257 + <span id="pr-button-kbd" class="pr-button-kbd">⌘⏎</span>
258 </button>
259 </div>
260 </div>
@@ -403,12 +403,14 @@ const mobileEndorsementRows = [
403 const label = document.getElementById("download-label");
404 const ctaBtn = document.getElementById("cta-download-btn") as HTMLAnchorElement | null;
405 const ctaLabel = document.getElementById("cta-download-label");
406 + const kbd = document.getElementById("pr-button-kbd");
407
408 const platform = detectPlatform();
409 if (!platform) return;
410 document.documentElement.dataset.platform = platform.os;
411 if (label) label.textContent = platform.label;
412 if (ctaLabel) ctaLabel.textContent = platform.label;
413 + if (kbd && platform.os !== "mac") kbd.textContent = "Ctrl ⏎";
414
415 try {
416 const release = await fetchLatestRelease();