Skip to content

Migrate website to Next.js and Cloudflare Workers - #13

Merged
adaliea merged 1 commit into
mainfrom
codex/next-workers-mobile
Sep 17, 2026
Merged

adaliea merged 1 commit into
mainfrom
codex/next-workers-mobile

Conversation

@adaliea

@adaliea adaliea commented Sep 9, 2026

Copy link
Copy Markdown
Owner

Replace the Jekyll runtime with Next.js 16, React 19, TypeScript 7, and Tailwind 4, configured for Cloudflare Workers through OpenNext. Preserve the photo backdrop, handwritten typography, colors, and original blog content.

  • Overlay navigation directly on the homepage photo, aligned beside “Hey there!” without repeating the site name or reserving a separate row. Use a keyboard-accessible hamburger menu on mobile/tablet and inline links on desktop; retain the standard header on inner pages.
  • Render the reading log and homepage book/music activity on the server. Book covers arrive with explicit width/height attributes and stable aspect-ratio boxes; search, filters, retry states, and existing editor callbacks remain interactive.
  • Compile the unchanged _posts Markdown at build time. Preserve every original blog URL, heading anchor, handwritten note, Atom feed ID, and Giscus discussion title. Adapt note cleanup for client navigation and constrain rotated notes on narrow screens.
  • Preserve project content, redirect shortcuts, template storage, and the Scratch game. Self-host fonts and replace the Ruby build/CI workflow with Node, Biome, and Workers checks.

Validation: clean dependency install, lint, typecheck, four content/template tests, production OpenNext build, 14 desktop/mobile browser tests against Node and 14 against the Workers runtime, and Wrangler deployment dry run. Browser checks cover all existing blog URLs, 320px note layouts, mobile menu keyboard behavior, API failures, editor parameters, and book content with JavaScript disabled. npm audit reports no vulnerabilities; _posts has no changes.

Deployment commands and configuration are documented in the README. The Worker name defaults to adalie-website; set it to an existing Worker name if needed and attach the custom domain in Cloudflare. This PR does not deploy to production.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying adaliea-github-io with  Cloudflare Pages  Cloudflare Pages

Latest commit: 877a10a
Status:🚫  Build failed.

View logs

@adaliea
adaliea merged commit 03a0533 into main Sep 17, 2026
5 of 6 checks passed
@adaliea
adaliea deleted the codex/next-workers-mobile branch September 17, 2026 23:07
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.

1 participant