Skip to content

feat(website): convert static HTML site to Next.js with static export#41

Merged
debba merged 1 commit intomainfrom
claude/nextjs-conversion-gh-pages-x35rh
Feb 25, 2026
Merged

feat(website): convert static HTML site to Next.js with static export#41
debba merged 1 commit intomainfrom
claude/nextjs-conversion-gh-pages-x35rh

Conversation

@debba
Copy link
Owner

@debba debba commented Feb 25, 2026

Replace the hand-crafted HTML website with a Next.js App Router project
using output: "export" for GitHub Pages compatibility.

Key improvements:

  • Eliminate duplicated CSS, navigation, footer, and analytics across pages
  • Shared components: Footer, BlogHeader, Analytics, Icons, Lightbox, ShareButton
  • Blog posts rendered at build time via marked (previously client-side)
  • Proper SEO: per-page metadata via Next.js Metadata API
  • Clean URLs: /blog/[slug] instead of post.html?slug=
  • Gallery lightbox converted from CSS :target to React state
  • Blog content moved to content/ for clean separation
  • Images moved to public/ as standard Next.js convention
  • GitHub Actions workflow updated to build Next.js before deploying
  • Workflow scoped to only trigger on website/** changes

https://claude.ai/code/session_01RCSNNgGLcnSwXTqws2cfgq

Replace the hand-crafted HTML website with a Next.js App Router project
using `output: "export"` for GitHub Pages compatibility.

Key improvements:
- Eliminate duplicated CSS, navigation, footer, and analytics across pages
- Shared components: Footer, BlogHeader, Analytics, Icons, Lightbox, ShareButton
- Blog posts rendered at build time via marked (previously client-side)
- Proper SEO: per-page metadata via Next.js Metadata API
- Clean URLs: /blog/[slug] instead of post.html?slug=
- Gallery lightbox converted from CSS :target to React state
- Blog content moved to content/ for clean separation
- Images moved to public/ as standard Next.js convention
- GitHub Actions workflow updated to build Next.js before deploying
- Workflow scoped to only trigger on website/** changes

https://claude.ai/code/session_01RCSNNgGLcnSwXTqws2cfgq
@debba debba merged commit 8b51906 into main Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants