fix(marketing): polish download page, platform CTAs, and nav#2710
fix(marketing): polish download page, platform CTAs, and nav#2710TimSchulzRC wants to merge 6 commits into
Conversation
- Scope dl-icon visibility rules to `html[data-platform]` so the hero/footer download button shows only the detected platform's icon (the prior `:not([data-platform])` selector matched ancestors that never carry the attribute, leaking the macOS icon onto Windows/Linux). - Replace the static "Windows · Linux · other" secondary CTA with the two non-detected platforms, computed from the detected OS. - Constrain the floating harness icons to `.container` so they no longer drift apart on wide screens. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
The header's Download button previously scrolled to the homepage's `#download` CTA section; sending users to the dedicated download page lets them pick their platform and architecture directly. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
…d page Adds a "Run without installing" callout with `npx t3` plus per-platform install commands (Homebrew, winget, AUR). Each command block has a copy-to-clipboard button; selectors are :global() so the JS-injected buttons aren't stripped by Astro's scoped CSS. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
…tooltip Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
ApprovabilityVerdict: Approved Marketing site polish with formatting changes, updated navigation links, added CLI installation instructions, and copy-to-clipboard functionality. Low-risk UI/copy changes confined to the marketing app with no backend or sensitive code impact. You can customize Macroscope's approvability policy. Learn more. |
What Changed
html[data-platform]so the hero/footer download button shows only the detected platform's icon (the prior:not([data-platform])selector matched ancestors that never carry the attribute, leaking the macOS icon onto Windows/Linux)./downloadinstead of the homepage#downloadanchor so users land on the dedicated download page.max-width: 1440pxso they no longer drift apart on wide screens./download, add a "Run without installing" callout (npx t3) and per-platform CLI install commands (Homebrew, winget, AUR). Each command block is click-to-copy (the button's click bubbles to the block) with a hover tooltip that swaps between "Copy" and "Copied" in sync with the existing check-mark animation. The block is wrapped in a.cmd-block-wrapso the tooltip isn't clipped by the block'soverflow-x: auto; JS-injected element selectors use:global()so Astro's scoped CSS still applies to them.Why
The recent marketing rebuild shipped with a few rough edges worth tightening:
npx t3plus platform package managers — those install paths should be reachable from the site too, and click-to-copy with a clear tooltip makes the commands easy to grab.UI Changes
Before


After
Before


After
Before


After
Before


After
Checklist
I included a video for animation/interaction changesNote
Medium Risk
Primarily marketing UI/UX updates, but adds new client-side clipboard behavior and DOM injection on
/downloadthat could break copy interactions or styling if selectors change.Overview
Tightens the marketing site’s download funnel by updating the global nav Download link to
/download, aligning the nav GitHub button styling, and refining hero/CTA platform detection so only the correct OS icon shows and the secondary CTA lists the other platforms.Enhances
/downloadwith a “Run without installing” callout plus per-OS package-manager install commands (Homebrew/winget/AUR), including new click-to-copy command blocks with tooltip + success-state styling.Reviewed by Cursor Bugbot for commit 2826f68. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Polish download page with CLI install snippets, copy buttons, and nav link fix
npx t3callout to the download page/downloadinstead of/#downloadMacroscope summarized 2826f68.