Next.js app: one-page-at-a-time comic book with page-flip transitions, narrative bridges, and panel lightboxes (image or video).
- Cover
- Bridge — concept intro
- Page 1 — The Collapse
- Bridge — “the old way worked”
- Page 2 — The Old Ways (with hood transform hotspots)
- Bridge — redesign pivot
- Page 3 — The Redesign
- Conclusion — four options + closing line
npm install
npm run devOpen http://localhost:3000.
- Next / Previous buttons or
→/←/ Space - Progress dots in the header jump to a spread
- Click a panel on comic pages for lightbox (video when available)
Under public/comic/:
pages/— cover + full page JPEGspanels/page{1,2,3}/— per-panel stillsvideos/— optional panel animations
Content and hotspot geometry live in src/data/comic.ts.
The app is ready for Railway's Railpack builder. Railway installs dependencies,
runs npm run build, and starts the production server with npm start.
To deploy this directory to the linked service:
railway upNo application environment variables are required. Railway provides PORT,
which the Next.js production server reads automatically.