- TemplatePageClient: hoist repoUrl to a single derived const, reuse it in
openGitHubRepo and a new Deploy on Hanzo badge linking to
hanzo.app/new?template=<repoUrl>. Badges all templates via the one component.
- README: replace Deploy on Vercel boilerplate with Deploy on Hanzo badge.
Emit public/templates.json from app/templates-data.ts (the single source of
truth) via a prebuild step, so gallery.hanzo.ai/templates.json is the
machine-readable template catalog consumed by hanzo.app. Each record keeps
the raw SoT fields and adds absolute screenshotUrl/templateUrl/repo so
consumers never encode the gallery's internal path scheme.
- scripts/gen-templates-json.mjs: imports templates-data.ts (node 24 type-strip)
- package.json: prebuild hook runs the generator before next build
- Dockerfile: node:22 -> node:24 for stable TS type-stripping
- public/templates.json: 72 templates, 71 with real screenshots
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- CNAME: gallery.hanzo.ai (custom domain for the GitHub Pages site)
- .nojekyll: prevents Jekyll from processing _next/ static assets
- Repo made public so GitHub Pages works (no secrets in this repo)
- Enhanced metadata with full Open Graph tags for social sharing
- Added Twitter Card configuration with @hanzoai handle
- Included comprehensive keywords for search optimization
- Created static OG and Twitter images (1200x630) with branding
- Added robots directives for proper search indexing
- Configured viewport and theme color metadata
- Removed unused state variables (isBuilding, buildProgress, availablePages)
- Cleaned up all dynamic build/preview features for static export compatibility
All pages pre-generated at build time (47 static pages)
Ready for improved SEO and social media sharing
- Replace Build & Preview buttons with View on GitHub
- Remove checkAvailablePages API call
- Remove buildAndPreview function
- Link directly to GitHub repos (hanzo-apps/template-*)
- All 47 pages pre-generated at build time
- Zero runtime API dependencies
- Remove symlink to ../../../screenshots
- Create actual public/screenshots directory
- Add .gitkeep to track empty directory
- Required for static site generation on GitHub Actions
- Remove API routes (not needed for static export)
- Remove old [id] dynamic route
- Add generateStaticParams() to templates/[slug] route
- Enable output: 'export' for static site generation
- Pre-generate all 47 pages at build time (40 templates + 7 static pages)
- Ready for GitHub Pages deployment
- Configure workflow to build and deploy on push to main
- Use Next.js static export to GitHub Pages
- Enable manual workflow dispatch
- Set proper permissions for GitHub Pages deployment
- Add @hanzo/logo package with official Hanzo logo
- Create Header component with navigation and logo
- Create Footer component with links and branding
- Update layout to include header/footer throughout site
- Fixed header with backdrop blur and proper z-index
- Responsive design with mobile menu button