mirror of
https://github.com/hanzo-apps/gallery.git
synced 2026-10-30 14:48:38 +00:00
Several cards were not pictures of a template at all. quantum was a Next "Failed to compile" panel. prism was the demo link index. jobfinder and deploy were shot with the Background layer off, so a lit scene photographed as tiles on flat grey, and jobfinder was not even the right template. canvas caught a full-screen intro counter mid-count. The 56 remaining cards are now shot from the running template through one recipe: 1920x1080, plus the 834x1112 and 390x844 portraits the detail page switches between. Every card has all three; none had them before. Six rows are gone because none could show a picture of its own. folio-html, folio-full and folio-main share a single path with no page left between them, folio-main's page being the link index itself, and each was displaying a neighbour's photograph. folio-portfolio-details-3 is identical to its neighbour, and betacrm-duplicate is what its name says. The captures are webp, not png. next.config sets images.unoptimized, so what is committed is exactly what a visitor downloads, and a grid of 56 png cards is 54MB of page. At q82 the same pictures are 14MB for the whole set — RMSE 0.66/255 against the png, max 1.27, which is below what an eye resolves at card size. It is also what the repo can carry: 162MB of png would not transfer in one pack. public/screenshots/full and /og go with them. Nothing in the app, the scripts or the export has referenced either; they were 50MB of pictures nobody could reach. The seven root *.md progress reports go too — LLM.md is the one place this repo keeps what it knows.
1.1 KiB
1.1 KiB
Hanzo Gallery
Overview
This is a Next.js project bootstrapped with create-next-app.
Tech Stack
- Language: TypeScript/JavaScript
Build & Run
npm install && npm run build
npm test
Structure
gallery/
LICENSE
README.md
app/ # the gallery itself; app/lib/shot.ts addresses a capture
public/screenshots/ # <name>.webp, <name>-tablet.webp, <name>-mobile.webp
scripts/ # gen-templates-json.mjs runs on prebuild
.hanzo/workflows/ # deploy.yml publishes out/ to the Sites plane
eslint.config.mjs
next-env.d.ts
next.config.ts
package-lock.json
package.json
Key Files
README.md-- Project documentationpackage.json-- Dependencies and scripts
License
Dual-licensed MIT OR Apache-2.0 (LICENSE-MIT, LICENSE-APACHE), replacing the
previous BSD-3-Clause declaration. Original Hanzo work standardises on this pair per
HIP-0137 "One License" (hanzoai/hips, HIPs/hip-0137-one-license.md); forks keep
their upstream licence unchanged.