Static landing page so the Vercel URL serves the demo (fixes 404)#3
Draft
JOhnsonKC201 wants to merge 1 commit into
Draft
Static landing page so the Vercel URL serves the demo (fixes 404)#3JOhnsonKC201 wants to merge 1 commit into
JOhnsonKC201 wants to merge 1 commit into
Conversation
Adds index.html (logo, autoplaying demo clip with GIF fallback, features, run instructions, showcase) and a vercel.json that skips install/build and serves the repo root statically — the native Electron deps would otherwise fail Vercel's npm install. Fixes the 404 at pixelcat-jet.vercel.app. https://claude.ai/code/session_018RawFfvxKw6iQX49YWYj4E
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
pixelcat-jet.vercel.appwas returning 404: NOT_FOUND because the repo is an Electron desktop app — there was no webpage for Vercel to serve.This adds a small static landing page so the URL shows the cat instead of a 404.
Changes
index.html— dark landing page: logo, autoplaying demo clip (pixelcat-demo.mp4) with the GIF as a fallback for browsers that block autoplay, a poster image, feature highlights, run-it-yourself instructions, and the showcase image. Links to the GitHub repo.vercel.json— skips install/build and serves the repo root statically. Needed because the project's native Electron deps (uiohook-napi) would otherwise fail Vercel's defaultnpm installand break the deploy.Notes
icon-512.png,pixelcat-demo.mp4/.gif,showcase.png) are already tracked onmain.How to verify
Once Vercel builds this branch's preview (or after merge for the production URL), open the deployment — the page should load with the demo playing.
https://claude.ai/code/session_018RawFfvxKw6iQX49YWYj4E
Generated by Claude Code