Skip to content

Direct-file download routes + more visible iOS button#43

Merged
BunsDev merged 1 commit into
mainfrom
feat/direct-download-and-ios-visibility
Jul 14, 2026
Merged

Direct-file download routes + more visible iOS button#43
BunsDev merged 1 commit into
mainfrom
feat/direct-download-and-ios-visibility

Conversation

@BunsDev

@BunsDev BunsDev commented Jul 14, 2026

Copy link
Copy Markdown
Member

What

Two changes to the hero download CTA:

  1. Direct-file downloads, not the Releases page. Desktop buttons now route through stable /download/{mac,windows,linux} Vercel redirects (see vercel.json) that 302 straight to the actual installer asset (.dmg / .msi / .AppImage). Users get a real file download instead of landing on the GitHub Releases listing. Version suffixes live only in vercel.json (bumped per release), so the client-side paths never change.

    • /download/mac → Apple Silicon .dmg
    • /download/mac-intel → Intel .dmg
    • /download/windows.msi
    • /download/linux.AppImage
  2. iOS button visibility. The TestFlight button's fill, border, and sub-text contrast were raised so it reads clearly as an actionable button instead of a near-invisible ghost surface.

Notes

  • Still works fully without JS — both buttons are real <a href>s.
  • On the next CovenCave release, bump the version in the four /download/* redirects in vercel.json.

🤖 Generated with Claude Code

Route desktop downloads through stable /download/{mac,windows,linux}
Vercel redirects that 302 straight to the actual installer asset
(.dmg/.msi/.AppImage) instead of landing users on the GitHub Releases
listing page. Version suffixes live only in vercel.json, bumped per
release, so the client-side paths never change.

Also raise the iOS (TestFlight) button's fill, border, and sub-text
contrast so it reads clearly as an actionable button rather than a
near-invisible ghost surface.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 14, 2026 16:10
@vercel

vercel Bot commented Jul 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
coven Ready Ready Preview Jul 14, 2026 4:10pm
coven-landing Ready Ready Preview Jul 14, 2026 4:10pm

@BunsDev
BunsDev merged commit 4fa058b into main Jul 14, 2026
3 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the hero download CTA to use stable /download/* routes (via Vercel redirects) that 302 directly to installer assets, and adjusts styling to make the iOS/TestFlight button more visually prominent.

Changes:

  • Added Vercel redirect routes for macOS, Windows, and Linux direct installer downloads.
  • Updated the Download CTA component + client-side platform retargeting to point at /download/* instead of the GitHub Releases page.
  • Increased contrast/visibility of the iOS/TestFlight CTA button styling.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
vercel.json Adds /download/{mac,mac-intel,windows,linux} redirects to specific release assets.
src/styles/global.css Improves visibility/contrast of the iOS/TestFlight button styles.
src/scripts/main.js Retargets platform-specific CTA hrefs to stable /download/* routes.
src/components/DownloadCTA.astro Makes the no-JS default CTA link point to /download/mac and updates inline documentation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/scripts/main.js
Comment on lines +272 to 276
// Stable Vercel redirect routes → direct installer downloads
// (see vercel.json). Version suffixes live server-side, so these
// paths never change per release.
var DOWNLOAD = { mac: '/download/mac', win: '/download/windows', linux: '/download/linux' };
var testflightUrl = cta.getAttribute('data-testflight-url');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants