feat(web): downloads page with OS detection + wire account download card #158
Reference in New Issue
Block a user
Delete Branch "feat/downloads-page"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Adds the customer downloads surface. The funnel previously dead-ended at "we'll email you" — there was no downloads page, and the account dashboard download card was hardcoded disabled.
1. New
/downloadspage (src/downloads.el)nav()+footer()+ page shell (page_open_seo/page_close), matchingsrc/main.el's homepage assembly.navigator.platform— highlights the visitor's platform and updates a detected-OS banner..dmg, primary download button)..msi) and Linux (.deb/.AppImage) linked but marked "Coming soon" — matches current product state: Windows chat isn't enabled and the Linux soul backend isn't finished yet, so they are not presented as fully working. The Windows.msilink is included per spec and may 404 until the Windows build lands.https://downloads.neurontechnologies.ai/installers/.src/main.el(/downloads, indexable, canonical set).2. Un-break the account download card (
src/account.el)download-btn-disabled/ "Shipping within 30 days" / "Download arriving soon"./downloads.Verification
elb+elc): all 26 modules compile and link./downloads→ HTTP 200 (~70KB); all four installer URLs, OS-detection script, three platform cards, nav and footer, and correct<title>/canonical present.dist/account.c; old disabled markers removed.Note: the local mac
/accountroute segfaults at runtime on both this branch and the unmodified baseline — a pre-existing mac-build quirk unrelated to this change (Linux CI serves/accountfine). This PR does not touch that route's logic.Stage only — not deployed to Cloud Run.
The funnel dead-ended at "we'll email you" — there was no downloads surface. Add a real /downloads page in the landing template style (shared nav + footer + page shell) with client-side navigator.platform OS detection. macOS (Apple Silicon .dmg) is featured as the shipping build; Windows (.msi) and Linux (.deb/.AppImage) are linked but clearly marked "coming soon" to match current product state — Windows chat and the Linux soul backend are not yet ready, so presenting them as fully working would overpromise. Also un-break the account dashboard download card, which was hardcoded disabled ("Shipping within 30 days"). It now links the live macOS installer plus the full /downloads page.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.